Create legal hold policy

POST https://{{api.box.com}}/2.0/legal_hold_policies

Create a new legal hold policy.

https://developer.box.com/reference/post-legal-hold-policies

Request Body

{"policy_name"=>"Sales Policy", "description"=>"A custom policy for the sales team", "filter_started_at"=>"2012-12-12T10:53:43-08:00", "filter_ended_at"=>"2012-12-18T10:53:43-08:00", "is_ongoing"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{"id":"11446498","type":"legal_hold_policy","policy_name":"Policy 4","description":"Postman created policy","status":"active","assignment_counts":{"user":1,"folder":2,"file":3,"file_version":4},"created_by":{"id":"11446498","type":"user","name":"Aaron Levie","login":"ceo@example.com"},"created_at":"2012-12-12T10:53:43-08:00","modified_at":"2012-12-12T10:53:43-08:00","deleted_at":"2012-12-12T10:53:43-08:00","filter_started_at":"2012-12-12T10:53:43-08:00","filter_ended_at":"2012-12-12T10:53:43-08:00","release_notes":"Example"}