legal_holds/update_policy

POST https://api.dropboxapi.com/2/team/legal_holds/update_policy

legalholds/updatepolicy

scope: team_data.member

Updates a legal hold. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team member file access.

Request Body

{"id"=>"pid_dbhid:abcd1234", "members"=>["dbmid:FDFSVF-DFSDF"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"id":"pid_dbhid:abcd1234","name":"acme cfo policy","members":{"team_member_ids":["dbmid:efgh5678"],"permanently_deleted_users":2},"status":{".tag":"active"},"start_date":"2016-01-01T00:00:00Z","activation_time":"2016-01-20T00:00:10Z","end_date":"2017-12-31T00:00:00Z"}