Delete Audio File
Deletes the audio file used by a connector at tenant level.
Endpoint
Method: Delete
URL: https://<tenant namespace url>/cse/deleteAudioFile/<tenant-name>/tenantName/<connector-name>/connector/<tenant-id>/tenantId
curl -X DELETE "https://hostname.com/cse/deleteAudioFile/uss-tenant/tenantName/twilio/connector/uss-tenant1/tenantId" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"audioFileName\": \"audio1\"}"
Path Parameters
Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
| String | Name of the connector whose audio file need to be deleted. Currently supports Exotel and Twilio connector. | Required |
| String | Id of the tenant that is associated to the connector. To know the tenant id, reach out to U-Self Serve Engineering Team. | Required |
| String | Name of the tenant. To know the tenant name, reach out to U-Self Serve Engineering Team. | Required |
Request Parameters
Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
| String | Enter the name of the audio file to be deleted. | Required |
Response and Error Codes
Response Codes | Condition |
---|---|
200 | OK |
204 | No Content |
401 | Unauthorized |
403 | Forbidden |