team_folder/archive

POST https://api.dropboxapi.com/2/team/team_folder/archive

team_folder/archive

scope: team_data.team_space

Sets an active team folder's status to archived and removes all folder and file members. Permission : Team member file access.

Request Body

{"team_folder_id"=>"123456789", "force_async_off"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{".tag":"complete","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"}}]}