Drive > Users

Update user

Update an existing user resource

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

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