REST API - update-task

vcenter trusted infrastructure trust authority clusters: update-task

Updates the state of a cluster. This operation was added in vSphere API 7.0.0.

Request:

HTTP request

PATCH https://{server}/api/vcenter/trusted-infrastructure/trust-authority-clusters/{cluster}

?vmw-task=true
{
    "state""ENABLE"
}

Path Parameters

Name Type Description
Required
cluster string Cluster id.

Body Parameters:

Name Type Description
bold = required
- update_spec The specification for update of a cluster.
-.state string The state of the vcenter.trusted_infrastructure.trust_authority_clusters. This attribute was added in vSphere API 7.0.0.

Optional. state If {@term.unset} no operation is performed.

Response:

HTTP Status Code: 202

Response Body Structure:

"obj-103"

Headers:

None

Type:

Name Type Description
bold = required
- string

Errors:

HTTP Status Code Type Description
500 error if there is a generic error.
404 not_found if spec doesn't match to any cluster compute resource.
401 unauthenticated if the user can not be authenticated.