Get a database
Authorization
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_database, delete_database, write_database, read_branch, delete_branch, create_branch, delete_production_branch, connect_branch, connect_production_branch, connect_production_read_only_branch, delete_branch_password, delete_production_branch_password, delete_production_read_only_branch_password, read_deploy_request, create_deploy_request, approve_deploy_request, read_comment, create_comment, restore_backup, restore_production_branch_backup, read_backups, write_backups, delete_backups, delete_production_branch_backups, write_branch_vschema, write_production_branch_vschema
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | read_databases |
| Database | read_database |
Path parameters
Organization name slug from list_organizations. Example: acme.
Database name slug from list_databases. Example: app-db.
Response
Returns a database