Skip to main content
POST
Create User Api Token Endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
name
string
required
Required string length: 1 - 100
Pattern: ^[a-zA-Z0-9\s\-_\.]+$
expires_at
string<date-time> | null

Response

Successful Response

expires_at
string<date-time>
required
id
string<uuid4>
required
token
string
required
type
string
default:Bearer