Delete a Recording

In order to delete a recording media, you must use the following endpoint.

Delete recording media

DELETE/workspaces/{workspaceId}/recordings/{recordingId}
Authorization
Path parameters
workspaceId*string
recordingId*string
Response

Deleted

Request
const response = await fetch('/workspaces/{workspaceId}/recordings/{recordingId}', {
    method: 'DELETE',
    headers: {
      "Authorization": "Bearer jwt"
    },
});
const data = await response.json();
Response
{
  "code": "text",
  "message": "text"
}
curl  -X "DELETE" "https://nest.messagebird.one/workspaces/8bc02f53-87ac-48d2-b4fd-c2cf856a305f/recordings/7f1e9ce1-95db-4a39-80f4-9bde69908c53" \
     -H 'Authorization: Bearer {Token}'

Last updated