REST API - update

vcenter namespace management supervisor services: update

Update a supervisor service. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

PATCH https://{server}/api/vcenter/namespace-management/supervisor-services/{supervisorService}
{
    "description""string",
    "display_name""string"
}

Body Parameters:

Name Type Description
bold = required
- update_spec Specification for the supervisor service metadata to be updated.
-.display_name string A human readable name of the supervisor service. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. If unset, the display name of the service will not be modified.

-.description string A human readable description of the supervisor service. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. If unset, the description of the service will not be modified.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
400 invalid_argument if spec contain any errors or if an invalid name is specified.
404 not_found if supervisor service with the ID supervisor_service could not be located.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user doesn't have the SupervisorServices.Manage privilege.