Returns a new API token belonging to a user. You can optionally restrict the token to a single organization by passing the organization slug in the request body. Organization-scoped tokens can only manage resources within that organization.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The name of the api token.
Optional organization restriction for the token.
The organization slug to restrict this token to. If omitted, the token grants access to all organizations the user belongs to.
"my-org"
Successful response
The actual token contents as a JWT. This is used with the Bearer header, see Authentication for more details. This token is never revealed again.
"..."