Tokens

Revoke a Personal Access Token

Soft-revoke (the row is preserved for the audit trail). The PAT stops working on the next request, with no grace period. The optional reason is stored on the token record, not in the audit log.

Role gate: owner / admin (or the token owner).

Scope: any.

post/api/companies/{companyId}/pats/{patId}/revoke

Request

  • Base URL
    https://comply.strac.io
  • Auth
    HTTP bearer

Path parameters

companyIdstring required

Your organization id.

patIdstring required

The PAT id (sha256 hash), not the plaintext token.

Request body

reasonstring

Why the token was revoked (e.g. rotation, offboarding).

Response

Revoke a Personal Access Token

Changes

No recorded changes to this operation across all 1 revision of this API.