Retention policy assignment

The retention policy assignment endpoint provides a way for admins to apply a retention policy on a per-folder basis, or place a blanket policy over the entire enterprise.

string / date-time
2012-12-12T10:53:43-08:00

When the retention policy assignment object was created

A mini user object representing the user that created the retention policy assignment object

The type and id of the content that is under retention. The type can either be folder or enterprise.

11446498

The unique identifier for this object

string
11446498

The unique identifier for this object

A mini retention policy object representing the retention policy that has been assigned to this content

string
retention_policy_assignment

Value is always retention_policy_assignment

Response Example

{
  "assigned_at": "2012-12-12T10:53:43-08:00",
  "assigned_by": {
    "id": 11446498,
    "login": "ceo@example.com",
    "name": "Aaron Levie",
    "type": "user"
  },
  "assigned_to": {
    "id": 11446498
  },
  "id": 11446498,
  "retention_policy": {
    "disposition_action": "permanently_delete",
    "id": 12345,
    "policy_name": "Some Policy Name",
    "retention_length": 365,
    "type": "file_version"
  },
  "type": "retention_policy_assignment"
}