Create a data retention policy
Add a new data retention policy to the space
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-Disable-Hooks
Request
This endpoint expects an object.
type
The type of data retention policy on an environment
Allowed values:
period
environmentId
Environment ID
Response
This endpoint returns an object.
data
A data retention policy belonging to an environment