api-tokens

Revoke API Token

Revoke an API Token

This endpoint consumes 10 units of your quota.

This endpoint requires the following org token scopes:

  • api-tokens:revoke
post/orgs/{org_slug}/api-tokens/revoke

Request

  • Base URL
    https://api.socket.dev/v0
  • URL
    https://api.socket.dev/v0/orgs/{org_slug}/api-tokens/revoke
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

org_slugstring required

The slug of the organization

Request body

uuidstring uuid

The stable group UUID of the API token to revoke

idstring

The API token ID to revoke

tokenstring
hashstring

Response

Response body

statusstring required

The status of the token

Changes

No recorded changes to this operation across all 2 revisions of this API.