Drive > Users

Update user

Update an existing user resource

put/2/drive/{drive_id}/users/{user_id}

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/drive/{drive_id}/users/{user_id}
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

Drive identifier

user_idinteger required

User Identifier

Request body

namestring

Name of the resource {name}

role'admin' | 'user'

Administration level of the user.<note><strong>admin</strong>: Administrator of the drive, can manage the drive (settings, invitations and users) and the files.</note><note><strong>user</strong>: Internal user can invite user and manage the files of his private directory and other directories with manage file access.</note>

Example request

{
  "role": "admin"
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

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