Updates the maintenance window of a specified instance.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/instances/{instanceId}/maintenanceWindow HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The ID of the instance. |
xxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| startTime |
string |
No |
The start time of the maintenance window, in UTC and |
00:00 |
| endTime |
string |
No |
The end time of the maintenance window, in UTC and |
02:00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70 |
| Data |
boolean |
A value of |
true |
| Success |
boolean |
Indicates whether the request was successful. A value of |
true |
| ErrorCode |
string |
The error code. |
null |
| ErrorMessage |
string |
The error message. |
null |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70",
"Data": true,
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.