HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In

Update a user by UUID

  • Any role or authentication source change that would result in the absence of at least one local user with the Administrator role will receive the HTTP 400 Bad Request response.
  • The password property is only recognized when updating a user associated with the local authentication source. It is silently ignored otherwise.
  • Changes to the following properties are considered security-relevant and will cause all tokens related to the givenuser to be deleted, requiring a new login if they are currently logged in to the UI:
    • auth_source_uuid
    • password
    • role
    • token_lifetime
    • username (for users tied to the local auth source)
  • For service accounts, setting the token_lifetime to 0 will cause a token to effectively never expire; USE WITH CAUTION.
Language
Authorization
Header
Click Try It! to start a request and see the response here!