Drafts

Delete a draft

Deletes a draft belonging to the current user and returns a success flag. Use this endpoint to delete a draft through the Samva email API.

DELETE
/v1/drafts/{id}

Deletes a draft belonging to the current user and returns a success flag.

x-api-key<token>

In: header

Path Parameters

id*string
Match^draft_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/drafts/string"
{  "success": true}