Retention policies
Update retention policy
Updates a retention policy.
put/retention_policies/{retention_policy_id}
Path parameters
retention_policy_idstring required
The ID of the retention policy.
Request body
Example request
{
"policy_name": "Some Policy Name",
"description": "Policy to retain all reports for at least one month",
"retention_type": "non-modifiable",
"status": "retired",
"custom_notification_recipients": [
{
"id": "11446498",
"type": "user"
}
]
}Response
Returns the updated retention policy object.
Example response
{
"id": "12345",
"type": "retention_policy",
"policy_name": "Some Policy Name",
"retention_length": "365",
"disposition_action": "permanently_delete",
"description": "Policy to retain all reports for at least one month",
"policy_type": "finite",
"retention_type": "non_modifiable",
"status": "active",
"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",
"custom_notification_recipients": [
{
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
}
],
"assignment_counts": {
"enterprise": 1,
"folder": 1,
"metadata_template": 1
}
}