Revoke API key
POST
Requires a user OAuth access token. Revocation is permanent and repeated revocation is safe. Subsequent requests using the key are rejected.
bearerAuthheader
AuthorizationBearer <token>Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.
id*stringLength
1 <= lengthX-Orbyte-Environment?stringRequired for environment-scoped OAuth operations. API keys remain bound to their own environment.
Length
1 <= lengthapplication/json- body
Revoked API key
application/json- response
id*stringcurl -X POST 'https://api.orbytelabs.com/v1/api-keys/string/revoke' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string"}