Skip to main content

Personal Access Tokens API

Manage API tokens used for headless scripts, CLI utilities, and third-party integrations.

1. List User API Tokens

GET /api/v1/auth/tokens Returns metadata for active tokens generated by the current user.

Headers

Response (200 OK)


2. Generate New API Token

POST /api/v1/auth/tokens Generates a new token string tied to the user’s account.

Request Body

Response (201 Created)


3. Revoke API Token

DELETE /api/v1/auth/tokens/{id} Revokes and invalidates the target token.