Skip to main content

A retention assignment represents a rule specifying the files a retention policy retains. Assignments can retain files based on their folder or metadata, or hold all files in the enterprise.

id
string
required

The unique identifier for a retention policy assignment.

Example:

"11446498"

type
enum<string>
required

The value will always be retention_policy_assignment.

Available options:
retention_policy_assignment
Example:

"retention_policy_assignment"

retention_policy
Retention policy (Mini) · object

A mini representation of a retention policy object that has been assigned to the content.

assigned_to
object

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

filter_fields
(object | null)[] | null

An array of field objects. Values are only returned if the assigned_to type is metadata_template. Otherwise, the array is blank.

assigned_by
User (Mini) · object

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

assigned_at
string<date-time>

When the retention policy assignment object was created.

Example:

"2012-12-12T10:53:43-08:00"

start_date_field
string

The date the retention policy assignment begins. If the assigned_to type is metadata_template, this field can be a date field's metadata attribute key id.

Example:

"upload_date"