📞
API Docs
  • Welcome
  • NUMBERS / ORDERING
    • List Areas
    • List Numbers
    • Order Numbers - No Cart
    • Delete Numbers
    • Change Call Forward
    • Vanity Tollfree - Search
    • Vanity Toll Free - Order
  • Shopping Cart Ordering
    • Add Number to Cart
    • List Numbers in Cart
    • Delete Number from Cart
    • Complete Order Cart
  • MY INVENTORY
    • List My Nmbers
    • List Call Flows
    • Change CallFlow
    • CDR Records
  • SMS/MMS
    • Send SMS
    • Send MMS
    • Receive SMS/MMS
    • Receive Delivery Receipts
  • Campaigns
    • Submit TollFree Campaign
  • CALL APIS
    • Calls
    • Set Incoming URL
    • Incoming Calls
    • Listing Calls
    • Making Calls
      • Example Code
        • Outbound to Tel#
        • Outbound to SIP Device
        • Example Responses
    • Modifying Live Calls
      • Examples
    • Recordings
      • Get List of Recordings
      • Delete a Recording
  • CALL API MARKUP
    • API Call Markup Language
      • Say
      • Dial
        • Number
        • Client
        • SIP
      • Play
      • Gather
      • Record
      • Hangup
      • Pause
      • Reject
      • Redirect
  • LOOKUPS
    • Carrier and CNAM
  • Number Portability
    • Validate Portability
    • Lookup Port Request
    • Submit Port Request
  • FAXING
    • Create Outbound Fax
    • Lookup Outbound Fax Status
    • List Faxes
    • Download File
  • registered agent
    • List Companies
    • List Registered Agents
    • List Documents
    • Download Document
    • Create Company
    • Delete Company
    • Create Registered Agent
    • Modify Registered Agent
Powered by GitBook
On this page
  1. CALL APIS
  2. Recordings

Delete a Recording

Delete an existing recording

HTTP DELETE

/2012-04-24/Accounts/{AccountSid}/Recordings/{RecordingSid}

or

HTTP POST

/2012-04-24/Accounts/{AccountSid}/Recordings

This function allows you to delete a recording on our system using an HTTP POST or an HTTP DELETE.

You can put the recording sid OR just use the file name if it's easier.

curl https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Recordings \
   -d 'delete_file=recording_sid'
   -u 'API_Token'
curl -X DELETE https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Recordings/RECORDING_SID  \
   -u 'API_Token:account_sid'

Possible Responses

HTTP Status: 200
{"status": "ok"}

OR

HTTP Status: 404
{"status": "error", "error": "file missing"}
PreviousGet List of RecordingsNextAPI Call Markup Language

Last updated 8 months ago