Skip to main content
POST
Set Storage Retention

Authorizations

X-EntityToken
string
header
required

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

Body

application/json

Sets the data storage retention to the requested value. Use the GetLimits method to get the range of allowed values.

Sets the data storage retention to the requested value. Use the GetLimits method to get the range of allowed values.

RetentionDays
number
required

The Insights data storage retention value (in days) to apply to the title.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Response

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Last modified on October 1, 2026