Skip to main content
PUT
Update call retention

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Body

application/json
policy
enum<string>
required

Specifies policy for this management platform access update call retention request.

Allowed values

Available options:
short,
standard,
extended,
compliance,
custom
retentionDays
integer

Required when policy is custom: a whole number of days from 1 to 2555. With a named policy, omit it or send that policy's period.

Value constraints

Required range: 1 <= x <= 2555
expectedRevision
integer

Apply the update only if the setting still has this revision (0 for a team using the default). Otherwise the update fails with 409 state_conflict.

Value constraints

Required range: x >= 0

Response

Call data retention saved.

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.