DigitalOcean-public.v2-new_Databases
Update Database Clusters' Metrics Endpoint Credentials
To update the credentials for all database clusters' metrics endpoints, send a PUT request to /v2/databases/metrics/credentials. A successful request will receive a 204 No Content status code with no body in response.
put/v2/databases/metrics/credentials
Request body
Example request
{
"credentials": {
"basic_auth_username": "username",
"basic_auth_password": "password"
}
}Response
The action was successful and the response body is empty.