Changed1
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Revoke Service Account

Description

Revokes the token associated with given service account URN, invalidates any existing sessions.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/serviceAccounts/{id}/revoke
Copy

Path Parameters

Path Parameters

string
id Required

Service account ID URN


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

No Content

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST https://{api_host}/cloudapi/1.0.0/serviceAccounts/{id}/revoke
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vcloud-event: com/vmware/vcloud/event/serviceAccount/revoke


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
What's changed in v37.0?
INTRODUCED
Availability
Added in 37.0
Service Account Operations
Feedback

Was this page helpful?