API Keys

Revoke API Key

Immediately disables an API key without deleting its database record.

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

Authorization

veriworkly-auth.session_token<token>

Internal session cookie for local development.

In: cookie

Path Parameters

id*string

The ID of the API key to revoke.

Response Body

application/json

application/json

application/json

curl -X POST "https://api.veriworkly.com/api/v1/api-keys/string/revoke"
{
  "success": true,
  "message": "string",
  "data": {}
}
{
  "success": false,
  "statusCode": 401,
  "message": "Authentication required"
}
{
  "success": true,
  "message": "string",
  "statusCode": 0,
  "details": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}