GET
/v2/pats/{id}Get a personal access token
Retrieves details for a personal access token (PAK) by its numeric ID. Use this operation to inspect the token's description and available lifecycle timestamps without retrieving its secret value.
idintegerrequired
The numeric ID of the personal access token to retrieve.
200Returns the PAK's ID, description, creation and update timestamps, and any available expiration or last-used timestamps.
createdAtintegerrequired
descriptionstringrequired
expiresAtintegeroptional
idintegerrequired
lastUsedAtintegeroptional
updatedAtintegerrequired
400Bad Request
codestringrequired
paramsarray<object>optional
401Unauthorized
codestringrequired
paramsarray<object>optional
403Forbidden
codestringrequired
paramsarray<object>optional
404Not Found
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is malformed or id is invalid. A 401 indicates that the request is not authenticated, and a 403 indicates that the authenticated user cannot access the token. A 404 is returned when the id path parameter does not identify an existing PAK.