Drive > Files > File/Directory > Access

Add multi-access

Add multi-access to file

post/2/drive/{drive_id}/files/{file_id}/access

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

lang'de' | 'en' | 'es' | 'fr' | 'it' | 'nl' | 'pt' required

Override the language of the request, in most cases when an e-mail is triggered in the request.

Request body

emailsstring[]
messagestring nullable
right'manage' | 'none' | 'read' | 'write' required

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>

team_idsinteger[]
user_idsinteger[]

Example request

{
  "right": "manage"
}

Response

OK

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

Result of the HTTP request

data91ac10ffFeedbackaccessresourceC3fdaa7f — unresolved $ref

Changes

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