team_folder/update_sync_settings
POST https://api.dropboxapi.com/2/team/team_folder/update_sync_settings
teamfolder/updatesync_settings
scope: team_data.team_space
Updates the sync settings on a team folder or its contents. Use of this endpoint requires that the team has team selective sync enabled.
Request Body
{"team_folder_id"=>"123456789", "sync_setting"=>"not_synced", "content_sync_settings"=>[{"id"=>"id:a4ayc_80_OEAAAAAAAAAXw", "sync_setting"=>"not_synced"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"team_folder_id":"123456789","name":"Marketing","status":{".tag":"active"},"is_team_shared_dropbox":false,"sync_setting":{".tag":"default"},"content_sync_settings":[{"id":"id:a4ayc_80_OEAAAAAAAAAXw","sync_setting":{".tag":"default"}}]}