PUT /call_recording_rules/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/call_recording_rules/:id

Update Call Recording Retention by id.

Updates a Call Recording Retention rule's retention period, recording_type, or the offer, schedule, buyer, or traffic source it applies to.

Params

Param name Description
description
Optional Blank value allowed

Description

  • Must be a String

recording_type
Optional Blank value allowed

This type of recording will be deleted once the retention period has passed.

  • Must be one of: call, consumer_and_agent, consumer_and_buyer.

retention_seconds
Optional Blank value allowed

If a recording is older than this many seconds, it will be deleted.

  • Must be a decimal number.

offer_id
Optional Blank value allowed

Only recordings matching this offer will be deleted after the retention period.

schedule_id
Optional Blank value allowed

Only recordings matching this Schedule will be deleted after the retention period.

buyer_id
Optional Blank value allowed

Only recordings matching this Buyer will be deleted after the retention period.

traffic_source_id
Optional Blank value allowed

Only recordings matching this Traffic Source will be deleted after the retention period.