dots.v2.databases.metrics.credentials.put()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.databases.metrics.credentials.put(body: Database_metrics_credentials, requestConfiguration?: RequestConfiguration<object>): Promise<void>Description
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.
Parameters
credentialsobject optionalShow child properties
basicAuthUsernamestring optionalExample:
usernamebasic authentication username for metrics HTTP endpoint
basicAuthPasswordstring optionalExample:
passwordbasic authentication password for metrics HTTP endpoint
Request Sample
More Information
See /v2/databases/metrics/credentials in the API reference for additional detail on responses, headers, parameters, and more.