v1

latestOpenAPI 3.1.02026-07-261344388.3 KB
Personal access token

List tokens

Retrieve all personal access tokens for the authenticated user or a specified service user.

get/api/users/service/{userId}/personal-access-tokens

Path parameters

userIdstring uuid nullable required

Service user ID to list tokens for (admin only)

Response

List of personal access tokens

idstring uuid required

Unique identifier of the personal access token

notestring required

Description or note for the token

permissionsstring[] required

List of permissions granted to this token

allProjectsboolean required

Whether the token has access to all projects

createdAtstring required

Timestamp when the token was created

updatedAtstring required

Timestamp when the token was last updated

expiresAtstring nullable

Timestamp when the token expires, null if indefinite