users

Update a user's roles

Update a user's system-level roles. Valid user roles are "system_user", "system_admin" or both of them. Overwrites any previously assigned system-level roles.

Permissions

Must have the manage_roles permission.

put/api/v4/users/{user_id}/roles

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/api/v4/users/{user_id}/roles
  • Auth
    none declared

Path parameters

user_idstring required

User GUID

Request body

rolesstring required

Response

User roles update successful

statusstring

Will contain "ok" if the request was successful and there was nothing else to return

Changes

No recorded changes to this operation across all 40 revisions of this API.