RoutesUsersUseridPersonal access tokensPatid
/users/{userId}/personal-access-tokens/{patId}
Update the name or the assigned profiles of a personal access token
AuthorizationBearer <token>
In: header
Path Parameters
userId*string
ID of the user
patId*string
ID of the personal access token
Request Body
application/json
name?string
New display name of the token
Length
1 <= lengthprofileIds?array<>
IDs of the profiles the token uses
Response Body
application/json
curl -X PATCH "https://YOUR_ORG_ID.gatana.ai/api/v1/users/string/personal-access-tokens/string" \ -H "Content-Type: application/json" \ -d '{}'{}