Revoke Token
Revoke a deployment's access token.
Authorization: caller must own the deployment.
Revocation is a soft flag rather than a delete, so the token remains visible in the deployment's token history.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
deployment_id*Deployment Id
Format
uuidtoken_id*Token Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueResponse Body
application/json
curl -X DELETE "https://example.com/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}