Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json

Exactly one of these fields is required: email or id or username.

email
string

One of the discriminated union fields - use exactly one

id
string

One of the discriminated union fields - use exactly one

username
string

One of the discriminated union fields - use exactly one

Response

Success

password
string
Minimum string length: 1
username
string
Minimum string length: 1
groups
Group · object[]
expiresAt
string<date-time>

timestamp.gt_now = true

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"

createdAt
string<date-time>

timestamp.lt_now = true

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"