[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Put Reservations Deprecated

Description

update the maintenance window for this SDDC

Request

Request

URL

URL


put
https://vmc.vmware.com/vmc/api/orgs/{org}/reservations/{reservation}/mw
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


string
reservation Required

Reservation Identifier


Request Body

Request Body

MaintenanceWindow of type(s) application/json Required

Maintenance Window

{
	"day_of_week": "SUNDAY",
	"hour_of_day": 0
}
string
day_of_week Optional

Possible values are: SUNDAYMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAY


integer as int32
hour_of_day Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns MaintenanceWindow of type(s) application/json
{
	"day_of_week": "SUNDAY",
	"hour_of_day": 0
}
string
day_of_week Optional

Possible values are: SUNDAYMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAY


integer as int32
hour_of_day Optional
Errors

Errors

400

The reservation is not in a state that’s valid for updates


401

Unauthorized


403

Access not allowed to the operation for the current user


409

Conflict with exiting reservation

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"day_of_week":"SUNDAY","hour_of_day":0}' https://vmc.vmware.com/vmc/api/orgs/{org}/reservations/{reservation}/mw
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: reservations
x-vmw-vapi-methodname: put


[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Feedback

Was this page helpful?