Update Recording Policy
Set the organisation's audio retention ceiling. It caps recordings started from now on; existing recordings keep their captured expiry.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
org_id*Org Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Set or (with an explicit null) remove the organisation's audio retention ceiling. The field is required so an empty body cannot silently remove the ceiling.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08/recording-policy" \ -H "Content-Type: application/json" \ -d '{ "audio_retention_ceiling_days": 0 }'{ "audio_retention_ceiling_days": 0, "platform_default_days": 0, "can_manage": true}{ "detail": "string", "code": "string"}{ "detail": "string", "code": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}