A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
read_branch, delete_branch, create_branch, connect_production_branch, connect_branch
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | manage_passwords, manage_production_branch_passwords |
| Database | manage_passwords, manage_production_branch_passwords |
| Branch | manage_passwords |
The name of the organization that owns this resource
The name of the database that owns this resource
The name of the branch that owns this resource
The ID of the role
Returns a role
The ID of the role
The name of the role
The database connection string
The database connection string for private connections
The service name to set up private connectivity
The database user name
The plain text password, available only after create
The database name
When the role was created
When the role was updated
When the role was deleted
When the role expires
When the role was dropped
When the role was disabled
Error message available when dropping the role fails
True if the credentials are expired
Whether the role is the default postgres user
Number of seconds before the credentials expire
Database roles these credentials inherit
pscale_managed, pg_checkpoint, pg_create_subscription, pg_maintain, pg_monitor, pg_read_all_data, pg_read_all_settings, pg_read_all_stats, pg_signal_backend, pg_stat_scan_tables, pg_use_reserved_connections, pg_write_all_data, postgres