v1

latestOpenAPI 3.1.02026-07-17497.7 KB
Users

Update an existing user

put/api/users/{id}

Path parameters

idstring uuid required

User UUID

Request body

usernamestring

New username (omitted fields keep existing values)

passwordstring

New plain text password (omitted fields keep existing values)

Example request

{
  "username": "jdoe_updated",
  "password": "newSecurePass456"
}

Response

User updated successfully

successboolean

Indicates whether the request was successful

codeinteger

HTTP status code

messagestring

Human-readable status message

request_idstring nullable

Unique request identifier for tracing

timestampstring date-time

ISO 8601 response timestamp

dataobject nullable
errorobject nullable
errorsobject[] nullable

Example response

{
  "message": "User updated"
}