v1

latestOpenAPI 3.1.02026-07-261344388.3 KB
Personal access token

Delete token

Note that any pipelines that depend on the token will stop functioning.

delete/api/users/service/{userId}/personal-access-tokens/{patId}

Path parameters

userIdstring uuid nullable required

Service user ID to delete token for (admin only)

patIdstring uuid required

Personal access token ID to delete

Response

Deleted personal access token details

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