Create a Personal-Access-Token (PAT)
POST/users/:userId/pats
Generates a new PAT for the user. Currently only available for machine users. The token will be returned in the response, make sure to store it. PATs are ready-to-use tokens and can be sent directly in the authentication header.
Request​
Responses​
- 200
- default
OK
An unexpected error response.