Skip to main content

Get Personal-Access-Token (PAT) by ID

GET 

/users/:userId/pats/:tokenId

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Deprecated: use user service v2 ListPersonalAccessTokens instead.

Returns the PAT for a user, currently only available for machine users/service accounts. PATs are ready-to-use tokens and can be sent directly in the authentication header.

Request​

Responses​

OK