Update a data retention policy

Updates a single data retention policy

Path parameters

idstringRequired

ID of data retention policy to update

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
typeenumRequired

The type of data retention policy on an environment

Allowed values:
periodintegerRequired
environmentIdstringRequired

Environment ID

Response

This endpoint returns an object.
dataobject

A data retention policy belonging to an environment

Errors