
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "agentmail",
"path": "",
"method": "DELETE"
}'
Free
Calls cost nothing.
API-wide: 100% success · 615 ms median · 30 days
About this endpoint
Permanently delete a draft. Important: pass method: "DELETE" in your run request.
Path parameters
inbox_idrequiredstringGoes in the path: replace {inbox_id} in the request.draft_idrequiredstringGoes in the path: replace {draft_id} in the request.More from AgentMail
- Get InboxGET/v0/inboxes/{inbox_id}Free
- Reply To MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply$0.01 per callFixed
- Get MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}Free
- Reply All MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all$0.01 per callFixed
- Get DraftGET/v0/inboxes/{inbox_id}/drafts/{draft_id}Free
- Update MessagePATCH/v0/inboxes/{inbox_id}/messages/{message_id}Free
- Create DraftPOST/v0/inboxes/{inbox_id}/drafts$0.01 per callFixed
- List ThreadsGET/v0/inboxes/{inbox_id}/threadsFree
- List DraftsGET/v0/inboxes/{inbox_id}/draftsFree
- Update InboxPATCH/v0/inboxes/{inbox_id}Free
- Get ThreadGET/v0/inboxes/{inbox_id}/threads/{thread_id}Free
- Get Raw MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}/rawFree