add_file_member

POST https://api.dropboxapi.com/2/sharing/add_file_member

addfilemember

scope: sharing.write

Adds specified members to a file.

Request Body

{"file"=>"id:3kmLmQFnf1AAAAAAAAAAAw", "members"=>[{".tag"=>"email", "email"=>"justin@example.com"}], "custom_message"=>"This is a custom message about ACME.doc", "quiet"=>false, "access_level"=>"viewer", "add_message_as_comment"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Dropbox-API-Path-Rootstring
Dropbox-API-Select-Userstring
Dropbox-API-Select-Adminstring

RESPONSES

status: OK

[{"member":{".tag":"email","email":"justin@example.com"},"result":{".tag":"success"}}]