Sharing a folder using curl

Download dropbox-api eBook

Example

    curl -X POST https://api.dropboxapi.com/2/sharing/share_folder \
        --header "Authorization: Bearer <ACCESS_TOKEN>" \
        --header "Content-Type: application/json" \
        --data "{\"path\": \"/folder_path\",\"member_policy\": \"team\",\"acl_update_policy\": \"editors\",\"shared_link_policy\": \"members\",\"force_async\": false}"

<ACCESS_TOKEN> should be replaced with the OAuth 2 access token.

Stats

Contributors: 1
2016-07-21
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook