Users
Update user name
Changed onUpdate the name of a user. Users can only update their own name.
patch/users/name
Request
- The document declares no server URL.
- Auth: none declared
Request body
Example request
{
"name": "John Doe"
}Response
User name successfully updated
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "John Doe",
"email": "john.doe@example.com",
"role": "user",
"orgId": "123e4567-e89b-12d3-a456-426614174001",
"department": "hauptamt",
"createdAt": "2024-01-15T10:30:00Z"
}Changes
- info
added the optional property
to the response with the status
- info