Sample - Twilio API
DELETE/2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json

Delete a recording

Deletes a recording from an account. Provide the recording identifier in Sid and the owning account identifier in AccountSid to select the resource. The operation returns no response body after the recording is deleted.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
AccountSidstringrequired
The account SID that created the recording. Must be a 34-character value matching `^AC[0-9a-fA-F]{32}$`.
Sidstringrequired
The unique recording SID to delete. Must be a 34-character value matching `^RE[0-9a-fA-F]{32}$`.

1 status code
204Returns no content after the recording is deleted successfully.

Error handling

AccountSid must be a 34-character account SID matching the AC prefix format, and Sid must be a 34-character recording SID matching the RE prefix format. The identifiers must refer to the recording resource you intend to delete.