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 represents a retention policy.

string
retention_policy

retention_policy

Value is always retention_policy

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)
365
1

The length of the retention policy. This value 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": "retention_policy",
  "disposition_action": "permanently_delete",
  "policy_name": "Some Policy Name",
  "retention_length": "365"
}