PUT /v2/databases/metrics/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.
Servers
- https://api.digitalocean.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
credentials |
Object | No | |
credentials.basic_auth_password |
String | No |
basic authentication password for metrics HTTP endpoint |
credentials.basic_auth_username |
String | No |
basic authentication username for metrics HTTP endpoint |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.