Skip to content

UsersController_updateUser

PATCH
/users/{id}
curl --request PATCH \
--url https://example.com/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--header 'x-tenant-schema: example' \
--cookie session=<session> \
--data '{ "name": "example", "department": "example" }'
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
x-tenant-schema
required
string

The tenant of the request.

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

The updated 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"
}