Users
Update a user (admin)
Changed onUpdate another user's name and/or email within your organization. You cannot edit your own profile through this endpoint.
patch/users/{id}
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
idstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000
User ID to update
Request body
Example request
{
"name": "Maria Schmidt",
"email": "maria.schmidt@gemeinde.de"
}Response
User 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