PUT /v2/databases/{database_cluster_uuid}/replicas/{replica_name}/promote
To promote a specific read-only replica, send a PUT request to /v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME/promote
.
Note: Read-only replicas are not supported for Redis or Valkey clusters.
A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
database_cluster_uuid |
String | Yes |
A unique identifier for a database cluster. |
replica_name |
String | Yes |
The name of the database replica. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.