protolabs42

Revoke an API key

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

Authorization

bearerAuth
AuthorizationBearer <token>

API key obtained via invite redemption or SIWE login

In: header

Path Parameters

id*string

API key ID

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://chorus.runclaw.run/admin/api-keys/string/revoke"
{
  "revoked": true,
  "meta": {
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}