Update a data retention policy

PATCH

Updates a single data retention policy

Path parameters

idstringRequired

ID of data retention policy to update

Headers

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
type"lastActivity" or "sinceCreated"Required
Allowed values: lastActivitysinceCreated

The type of data retention policy on an environment

periodintegerRequired
environmentIdstringRequired

Environment ID

Response

This endpoint returns an object.
dataobject

A data retention policy belonging to an environment

Errors