Skip to Content
Orbyte Labs

Revoke API key

POST
/v1/api-keys/{id}/revoke

Requires a user OAuth access token. Revocation is permanent and repeated revocation is safe. Subsequent requests using the key are rejected.

Authorization

bearerAuth
headerAuthorizationBearer <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.

Path Parameters

id*string
Length1 <= length

Header Parameters

X-Orbyte-Environment?string

Required for environment-scoped OAuth operations. API keys remain bound to their own environment.

Length1 <= length

Request Body

application/json
  1. body

Response Body

Revoked API key

application/json
  1. response
id*string
Example Request
curl -X POST 'https://api.orbytelabs.com/v1/api-keys/string/revoke' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string"}