Skip to main content

List Personal-Access-Tokens (PATs)

POST 

/users/:userId/pats/_search

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 a list of PATs 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