Read-only replicas
Create a read-only replica
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 write_database
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | write_databases |
| Database | write_database |
post/organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas
Path parameters
organizationstring required
Organization name slug from list_organizations. Example: acme.
databasestring required
Database name slug from list_databases. Example: app-db.
branchstring required
Branch name from list_branches. Example: main.
Request body
Response
Returns the new read-only replica
Changes
Changed in 1 of the 24 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○