Skip to main content
API version 2024.0 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.
id
string
example: 12345The unique identifier that represents a retention policy.
type
string
example: retention_policyThe value will always be retention_policy.Value is always retention_policy
disposition_action
string
example: permanently_deleteThe 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
policy_name
string
example: Some Policy NameThe name given to the retention policy.
retention_length
string(int32)
example: 365The 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.
{
  "id": "12345",
  "type": "retention_policy",
  "disposition_action": "permanently_delete",
  "policy_name": "Some Policy Name",
  "retention_length": "365"
}