Update a user.

patch/v1/users/{userId}

Path parameters

userIdstring uuid required

Id of the user to lock.

Request body

accountEnabledboolean

Activate or inactivate the user.

emailstring email

Email of the user.

Response

The user has been updated.

idstring uuid required

Changes

Changed in 3 of the 50 revisions of this API.232

    • removed the optional property userId from the response with the 200 status

      response-optional-property-removed

    • added the required property id to the response with the 200 status

      response-required-property-added

    • added the new optional request property email

      new-optional-request-property

  • e1476325d40122See the full diff
    • the request property accountEnabled became not nullable

      request-property-became-not-nullable

    • the request property role became not nullable

      request-property-became-not-nullable

    • deleted the query request parameter code

      request-parameter-removed

    • deleted the query request parameter id

      request-parameter-removed