Skip to content

UsersController_createUser

POST
/users
curl --request POST \
--url https://example.com/users \
--header 'Content-Type: application/json' \
--header 'idempotency-key: example' \
--header 'x-tenant-schema: example' \
--cookie session=<session> \
--data '{ "email": "example", "name": "example", "department": "example" }'
idempotency-key
required
string
x-tenant-schema
required
string

The tenant of the request.

Media typeapplication/json
object
email
required
string
name
required
string
>= 3 characters <= 255 characters
department
string
>= 3 characters <= 255 characters
Examplegenerated
{
"email": "example",
"name": "example",
"department": "example"
}

The created user, as far as the caller may read it.

Media typeapplication/json
object
id
string
email
string
name
string
department
string
nullable
Examplegenerated
{
"id": "example",
"email": "example",
"name": "example",
"department": "example"
}