latestOpenAPI 3.1.02026-08-203162960.6 KB

95f964635cb5

orgs

List member access tokens

List the access tokens of the organization's members. Team or Enterprise only.

get/api/organizations/{name}/settings/tokens

Path parameters

namestring required

Query parameters

cursorstring

Pagination cursor from the Link header

limitinteger
qstring

Filter on owner:, role:, status: and token: (last 4 characters), negatable with -. Pass status:all to include revoked tokens.

Response

Array of organization member access tokens

_idstring required
displayNamestring required

Name the owner gave the token. Provided when the organization requires administrator approval of member tokens

role'read' | 'write' | 'fineGrained' required

Kind of access the token carries. read and write reach everything their owner can reach, while fineGrained is limited to the permissions listed under fineGrained

last4string

Last 4 characters of the token's value, the only part of it ever returned. Absent on tokens created before this was recorded

createdAtstring date-time required

Date the token was created, or the date it was last rotated

lastUsedAtstring date-time

Date the token last authenticated a request. Absent on tokens that have never been used