# Flowg8 · Revoke an API key

Revoke a key as an administrator. Subsequent calls using it are rejected.



## POST /v1/api-keys/{keyId}/revoke

Authentication: FLOWG8_ACCESS_TOKEN from Flowg8 sign-in
Required tenant header: X-Organization-Id.
Required user permissions: Administrator or Sandbox developer required. The API checks current membership, roles, key scopes and resource permissions on every request. Documentation visibility grants no access.

## Request example (replace example IDs)

```sh
curl -X POST "https://api.flowg8.io/v1/api-keys/10000000-0000-4000-8000-000000000008/revoke" \
  -H "authorization: Bearer $FLOWG8_ACCESS_TOKEN" \
  -H "x-organization-id: 10000000-0000-4000-8000-000000000001" \
  -H "idempotency-key: example-revoke-key-001" \
  -H "content-type: application/json" \
  --data-raw '{}'
```

## Response excerpt

```json
{
  "id": "10000000-0000-4000-8000-000000000008",
  "revokedAt": "2026-10-17T08:00:00.000Z"
}
```

Source: /docs/revoke-key
Full schemas: /docs/openapi.json
