legal_holds/create_policy
POST https://api.dropboxapi.com/2/team/legal_holds/create_policy
scope: team_data.member
Creates new legal hold policy. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team member file access.
Request Body
{"name"=>"acme cfo policy", "members"=>["dbmid:FDFSVF-DFSDF"], "start_date"=>"2016-01-01T00:00:00Z", "end_date"=>"2017-12-31T00:00:00Z"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
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"}