Delete KMS Services
Released in v7.0.0Removes a currently registered Key Provider Service instance from this vCenter. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ManageTrustedHosts.
Request
URLURL
https://{api_host}/api/vcenter/trusted-infrastructure/kms/services/{service}
Parameters
Parameters
string
service
Required
the Key Provider Service instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service.
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
cURL Command
curl -X DELETE -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/trusted-infrastructure/kms/services/{service}
Errors
404
com.vmware.vapi.std.errors.error : if an error occurred while deleting the service. | com.vmware.vapi.std.errors.not_found : if the Key Provider Service instance is not found.
409
com.vmware.vapi.std.errors.resource_busy : if the Key Provider Service instance is used by a configuration on a cluster level.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.