Skip to main content
DELETE
/
conversations
/
{conv_id}
/
drafts
/
{draft_id}
Delete a draft
curl --request DELETE \
  --url https://api.getfernand.com/conversations/{conv_id}/drafts/{draft_id} \
  --header 'X-API-Key: <api-key>'
{
  "error": "<string>"
}
Deletes a specific message draft in the given conversation.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Path Parameters

conv_id
integer
required

ID of the conversation containing the draft.

draft_id
integer
required

ID of the draft to delete.

Response

Draft deleted successfully.