Skip to main content
POST
Add a new user token

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Body

application/json
name
string
required
expires_at
string
accessRestrictedTo
object[]

Response

Creates a user token and returns it.

created_at
string
required
expires_at
string
required
id
string
required
name
string
required
token
string | null
required
last_used_at
string