Delete specific interaction and its content by its GUID
The DELETE /interactions/{guid}
endpoint allows you to delete an interaction by specifying its unique identifier. Interaction will be removed along with all of its interaction content (call recording, transcript, categorization results, and so on).
Most URLs in the example code use the following values:
- ***. To access the API for your region, replace *** with the correct subdomain for your region:
Region URL subdomain Base URL EMEA emea https://emea.api.newvoicemedia.com USA nam https://nam.api.newvoicemedia.com APAC apac https://apac.api.newvoicemedia.com - <ACCESS_TOKEN>. The value represents a bearer access token which you must use to validate every request. Replace <ACCESS_TOKEN> where used with your bearer access token. For information about getting a bearer access token, see How to authenticate with a Vonage Contact Center (VCC) API.
Headers
Header parameters in Requests (Interaction Content API) apply to this endpoint.
Authorization scopes supported:
Scope | Access granted |
---|---|
| Entire endpoint |
Parameters
The endpoint accepts the following path parameters:
guid
Type | Required | Example |
---|---|---|
String | True | 2480fc2c-bbd7-427c-9439-02f76583aef5 |
A globally unique identifier of the interaction you want to delete.
Request
Delete a single interaction and all of its content
curl -L -X DELETE "https://emea.api.newvoicemedia.com/interaction-content/interactions/017d7fdd-228e-4224-b817-61d0df71c41c" \ -H "Accept: application/vnd.newvoicemedia.v3+json" \ -H "Authorization: Bearer <ACCESS_TOKEN>" \
Responses
Successful response
A successful response contains an empty JSON object indicating deletion was performed correctly. For information about successful responses, see Success response code and parameters in Responses (Interaction Content API).
For information, see Trying out Vonage Contact Center APIs.