Personal access tokens
List personal access tokens in a workspace
List active, expired, and revoked personal access tokens in a workspace.
GET
List personal access tokens in a workspace
The organization bot token must have the following scopes:
To learn how PATs work and how members create them, see Personal access tokens.
personal-access-token:read
id from a result as the bot_id when you revoke the token.
Filter results
Usestatus to return active, expired, or revoked tokens. Use creator_ids to filter by the members who created the tokens, and use search to match a token name.
Use bracket encoding to filter by more than one status or creator: