Create retention rule
Create a new retention rule. Auto-deactivates any existing active rule for the same scope.
Request
This endpoint expects an object.
retention
Allowed values:
project_id
organization_level
Set to true to create an organization-level rule
apply_to_past
Response headers
Location
Response
Created
retention
Allowed values:
id
workspace_id
project_id
level
Computed from projectId and organizationLevel
Allowed values:
apply_to_past
enabled
created_by
created_at
last_updated_by
last_updated_at