v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
User

Update user

Update a set of changes of an user.<br><br>

<h2>Warning: Multiple request body content types</h2> <p> Due to technical limitations, the information provided here may not display all available request body content types. We are currently working with our third-party documentation provider to address this issue. For a complete and accurate representation of the available content types, we recommend referring to the <a target="_blank" href="https://github.com/xentral/api-spec-public">full OpenAPI specification</a>. </p> <p> We apologize for any inconvenience caused and appreciate your understanding as we work to resolve this matter. </p> <h3>Available request content types:</h3> <ul> <li><b>application/json</b></li> <li>application/vnd.xentral.password+json</li> <li>application/vnd.xentral.mfa+json</li> </ul>
patch/api/v1/users/{id}

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Request body

usernamestring
passwordstring
descriptionstring
colorstring

Hexadecimal color value in 6-digit format without the leading # character.

locale'de_DE' | 'en_US'

ISO 15897 locale which matches one of the available locale values.

emailstring

Example request

{
  "username": "Benedikt",
  "password": "abc123ghj987!?",
  "description": "This is the user description.",
  "color": "ff0000",
  "locale": "de_DE"
}

Response

Operation completed successfully, no response body