Delete conversation

Delete conversation

Delete a conversation

DELETEhttps://api.bird.com/workspaces/{workspaceId}/conversations/{conversationId}
Path parameters
workspaceId*string (uuid)

The workspace ID

Example: "b4e02c85-c6d2-4b15-8885-e09671799c61"
conversationId*string (uuid)

The conversation ID

Example: "67e4d358-ca94-421e-98b7-448860df9d33"
Response

The conversation was deleted

Request
const response = await fetch('https://api.bird.com/workspaces/{workspaceId}/conversations/{conversationId}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "code": "ResourceNotFound",
  "message": "The requested resource does not exist"
}

Examples

curl -X DELETE "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/conversations/02ec2ac2-ebec-42d3-a5f4-e6f3a9edf418" \
-H "Authorization: AccessKey abcd"

Last updated