Account Users

Update user

For a given user, update their information

patch/v1/users/{user_id}

Request

  • Base URL
    https://api.rocket.net
  • Auth
    HTTP bearer

Path parameters

user_idstring uuid required

Request body

twofactor_requiredboolean

Require the user to use two-factor to log into Rocket.net

rolesstring[]

Update user's roles

Example request

{
  "twofactor_required": true,
  "roles": [
    "billing_admin",
    "account_user"
  ]
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.