Drive > Invitations

Update an invitation

Update information pertaining to an invitation identified by its invitation id

put/2/drive/{drive_id}/users/invitation/{invitation_id}

Path parameters

drive_idinteger required

Drive identifier

invitation_idinteger required

Invitation identifier

Request body

emailstring

Email

messagestring
namestring

Name of the resource {name}

right'manage' | 'none' | 'read' | 'write'

Access level of {name}.<note><strong>manage</strong>: Can share, write and read the file.</note><note><strong>none</strong>: Can not act on the file.</note><note><strong>read</strong>: Can only read the file.</note><note><strong>write</strong>: Can write and read the file.</note>

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

{
  "right": "manage",
  "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 endpoint across all 1 revision of this API.