v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Databases

Retrieve Database Clusters' Metrics Endpoint Credentials

To show the credentials for all database clusters' metrics endpoints, send a GET request to /v2/databases/metrics/credentials. The result will be a JSON object with a credentials key.

get/v2/databases/metrics/credentials

Response

A JSON object with a key of credentials.

Example response

{
  "credentials": {
    "credentials": {
      "basic_auth_username": "username",
      "basic_auth_password": "password"
    }
  }
}