Skip to main content
DELETE
/
api
/
v1
/
api-keys
/
{api_key_id}
Revoke Api Key
curl --request DELETE \
  --url https://roughy-api-staging.fly.dev/api/v1/api-keys/{api_key_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.roughy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Either your Supabase session JWT (UI flows) or an API key minted via POST /api-keys (programmatic flows). Pass it as Authorization: Bearer <token>. The server inspects the token format and routes to JWT or API-key verification automatically.

Path Parameters

api_key_id
string<uuid>
required

Response

Successful Response