Skip to main content
DELETE
Revoke a directory token
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. Revokes a token at once. Revoking one twice changes nothing. Never needs a plan.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The token id.

Required string length: 1 - 64

Response

Revoked.