Retention policy (Mini)

A mini representation of a retention policy, used when nested within another resource.

This resource has a few variations that can be encountered when using the API.

The fields that are part of the mini variant are generally returned when the resource is nested within the response for another resource.

string
12345

The unique identifier that represent a file version.

string
file_version

Value is always file_version

permanently_delete

The disposition action of the retention policy. This action can be permanently_delete, which will cause the content retained by the policy to be permanently deleted, or remove_retention, which will lift the retention policy from the content, allowing it to be deleted by users, once the retention policy has expired.

Value is one of permanently_delete,remove_retention

Some Policy Name

The name given to the retention policy

string / int32
3651

The length of the retention policy. This length specifies the duration in days that the retention policy will be active for after being assigned to content. If the policy has A policy_type of indefinite, the retention_length will also be indefinite.

Response Example

{
  "id": 12345,
  "type": "file_version",
  "disposition_action": "permanently_delete",
  "policy_name": "Some Policy Name",
  "retention_length": 365
}