Update call retention
Required scope: sessions:manage
Records how long Polymorfa keeps your team’s call data. Requires a team API key. Deletion of call data older than the period starts on a date Polymorfa announces in the changelog; until then, saving a period deletes nothing. Once deletion runs, a shorter period also applies to call data already stored, and deleted data cannot be recovered. Send expectedRevision to refuse the update when someone else changed the setting after you read it.
Authorizations
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
Specifies policy for this management platform access update call retention request.
Allowed values
short, standard, extended, compliance, custom 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
1 <= x <= 2555Apply 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
x >= 0