Delete Trusted Clusters Attestation Services Applied Config Task
Released in v7.0.1.0 DescriptionDelete the Attestation Service configuration that has been applied to the given cluster. This method has no affect on the desired state, it only removes applied Attestation Service configuration from any Trusted Hosts within the given cluster.
Request
URLURL
https://{api_host}/api/vcenter/trusted-infrastructure/trusted-clusters/{cluster}/attestation/services-applied-config?vmw-task=true
Parameters
Parameters
string
cluster
Required
The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
202 Accepted returns
string
of type application/json
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists.
cURL Command
curl -X DELETE -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/trusted-infrastructure/trusted-clusters/{cluster}/attestation/services-applied-config?vmw-task=true
Errors
404
com.vmware.vapi.std.errors.not_found : if no cluster corresponding to the given ID is found within this vCenter.
500
com.vmware.vapi.std.errors.error : if there is a generic error. | com.vmware.vapi.std.errors.resource_busy : if there are ongoing mutating operations.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.