PUT /v2/databases/{database_cluster_uuid}/maintenance
To configure the window when automatic maintenance should be performed for a database cluster, send a PUT request to /v2/databases/$DATABASE_ID/maintenance
.
A successful request will receive a 204 No Content status code with no body in response.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
database_cluster_uuid |
String | Yes |
A unique identifier for a database cluster. |
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 |
---|---|---|---|
day |
String | Yes |
The day of the week on which to apply maintenance updates. |
description[] |
Array | No |
A list of strings, each containing information about a pending maintenance update. |
hour |
String | Yes |
The hour in UTC at which maintenance updates will be applied in 24 hour format. |
pending |
Boolean | No |
A boolean value indicating whether any maintenance is scheduled to be performed in the next window. |
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.