Request
#/components/schemas/createPatSchema
descriptionstringRequired
The PAT's description.
expiresAtstringRequiredformat: "date-time"
The PAT's expiration date.
Response
The resource was successfully created.
idinteger>=1
The PAT's ID. PAT IDs are incrementing integers. In other words, a more recently created PAT will always have a higher ID than an older one.
createdAtstringformat: "date-time"
The date and time of when the PAT was created.
descriptionstring
The PAT's description.
expiresAtstringformat: "date-time"
The PAT's expiration date.
secretstring
The token used for authentication. It is automatically generated by Unleash when the PAT is created and that is the only time this property is returned.
seenAtstring or nullformat: "date-time"
When the PAT was last seen/used to authenticate with. null if it has not been used yet.
userIdinteger
The ID of the user this PAT belongs to.