REST API - delete

vcenter host maintenance requests v1: delete

Deletes the given set of maintenance requests. This operation was added in vSphere API 7.0.1.0.

Request:

HTTP request

POST https://{server}/api/vcenter/host/maintenance/requests-v1

?action=delete
[
    "obj-103",
    "obj-103"
]

Body Parameters:

Name Type Description
bold = required
- string[] Set of identifiers of maintenance requests.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
404 not_found if any of the request identifiers is not known to this vCenter server.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user doesn't have the required privileges.