Personal Access Tokens (PATs)

Revoke Personal Access Token

Revokes a PAT so it can no longer be used. The record is kept for audit purposes.

put/pats/{id}/revoke

Request

  • Base URL: https://api.carbonvoice.app
  • URL: https://api.carbonvoice.app/pats/{id}/revoke
  • Auth: one of:
    • API key in header pxtoken
    • OAuth 2 (implicit, authorization URL https://api.carbonvoice.app/oauth/authorize)

Path parameters

idstring required

Response

idstring required
namestring
scopesstring[] required
created_atstring date-time required
expires_atstring date-time
revoked_atstring date-time
last_used_atstring date-time
display_tokenstring required

Masked preview of the PAT. The full secret is only returned once at creation time.

Example response

{
  "display_token": "cv_pat_91x23...x1201"
}

Changes

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