DigitalOcean-public.v2-new_Databases
Remove a Database User
To remove a specific database user, send a DELETE request to /v2/databases/$DATABASE_ID/users/$USERNAME.
A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
Note: User management is not supported for Caching or Valkey clusters.
delete/v2/databases/{database_cluster_uuid}/users/{username}
Path parameters
database_cluster_uuidstring uuid required
A unique identifier for a database cluster.
usernamestring required
The name of the database user.
Response
The action was successful and the response body is empty.