Data Retention Policies

Create a data retention policy

POST
Add a new data retention policy to the space

Request

This endpoint expects an object.
type
enumRequired
The type of data retention policy on an environment
Allowed values: lastActivitysinceCreated
period
integerRequired
environmentId
stringRequired
Environment ID

Response

This endpoint returns an object
data
object
A data retention policy belonging to an environment

Errors