Create Personal Access Token
Last updated
Last updated
POST /auth/pats
Create a new personal access token for the caller
Auth:Users:Create
Always Required
Auth:Types:Pat
Always Required
name
*
String
the name of the personal access token, must be unique for the caller
publicKey
*
String
public key that can be used to validate signatures generated by the personal access token
secondsValid
Integer
Optional
number of seconds the personal access token will be valid. If this is specified, daysValid
will be ignored.
daysValid
Integer
Optional
number of days the personal access token will be valid. Max is 730
. If secondsValid
is specified, daysValid
will be ignored.
permissionId
String
Optional
ID of the permission that will be assigned to the personal access token. If no permission ID is given, the personal access token will be assigned the same permissions as the caller
externalId
String
Optional
user defined value that can be used to correlate the entity with an external system
Success - The created personal access token
See for common errors.
See for personal access token management specific errors.