token
get/api/tokens
Query parameters
orgstring uuid nullable
List the tokens owned by this organization
repostring uuid nullable
List the tokens owned by this repository
instanceboolean nullable
List the tokens that are not owned by anyone
type'personal' | 'organization' | 'ci' | 'deploy' | 'runner' | 'instance'
Filter by token type
includeRevokedboolean nullable
Include revoked tokens
offsetinteger nullable
Pagination offset
limitinteger nullable
Maximum number of results (max 100, default 20)
Response
List of tokens
Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○