RoutesUsersUsersubPersonal access tokens
/users/{userSub}/personal-access-tokens
AuthorizationBearer <token>
In: header
Path Parameters
userSub*string
Request Body
application/json
name*string
Length
1 <= lengthprofileId?string|null
Response Body
application/json
curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/users/string/personal-access-tokens" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"token": {
"tenantId": "string",
"userId": 0,
"id": "string",
"name": "string",
"apiKey": "string",
"profileId": "string",
"createdAt": "string",
"lastUsedAt": "string"
}
}