DigitalOcean-public.v2-new_Databases
Destroy a Read-only Replica
To destroy a specific read-only replica, send a DELETE request to /v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME.
Note: Read-only replicas are not supported for Caching 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.
delete/v2/databases/{database_cluster_uuid}/replicas/{replica_name}
Path parameters
database_cluster_uuidstring uuid required
A unique identifier for a database cluster.
replica_namestring required
The name of the database replica.
Response
The action was successful and the response body is empty.