GetPersonalAccessTokenByIDs
Get Personal-Access-Token (PAT) by ID
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.
curl -X GET "https://loading/users/string/pats/string"{
"token": {
"id": "string",
"details": {
"sequence": 0,
"creationDate": "1s",
"changeDate": "1s",
"resourceOwner": "string"
},
"expirationDate": "1s",
"scopes": [
"string"
]
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?