{"uid":"cap_-UeA5PhbS4sGtyutJUEQE","slug":"agentmail-draft-id-5a14f5a0","name":"AgentMail Delete Draft","description":"Delete Draft","url":"https://mpp.api.agentmail.to/v0/inboxes/:inbox_id/drafts/:draft_id","method":"DELETE","headers":{},"bodySchema":{"type":"object","required":["inbox_id","draft_id"],"properties":{"draft_id":{"type":"string","title":"DraftId","description":"ID of draft."},"inbox_id":{"type":"string","title":"InboxId","description":"The ID of the inbox."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["email","inboxes","domains","drafts","threads","webhooks","messaging","ai","social"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unprobed","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"free","summary":"Free","primary":null,"accepted":[]},"paymentMethods":[],"brandName":"AgentMail","brandSlug":"agentmail","brandBaseUrl":"https://agentmail.to","brandDocsUrl":"https://docs.agentmail.to","whatItDoes":"Permanently deletes a specific email draft from an AI agent inbox","exampleAgentPrompt":"Delete the draft with ID 'drft_abc123' from inbox 'inbox_xyz789' — I decided not to send it.","exampleUseCases":[{"title":"Discard outdated follow-up draft","prompt":"I drafted a follow-up email to that client last week but we've already resolved the issue — go ahead and delete that draft so it doesn't accidentally get sent."},{"title":"Clean up stale agent drafts","prompt":"My agent inbox has a bunch of old drafts that were never sent and are no longer relevant — can you delete all the ones older than 30 days to keep things tidy?"},{"title":"Cancel draft before accidental send","prompt":"I changed my mind about that email I was composing to the vendor — please delete the draft before it goes out."}],"resultDescription":"Returns an empty or minimal success response confirming the draft has been permanently deleted from the specified inbox. No draft object is returned.","failureModes":["Draft ID not found — returns 404 if the draft_id does not exist in the specified inbox","Inbox ID not found — returns 404 if the inbox_id does not exist","Unauthorized — returns 401 if the Bearer token is missing or invalid","Draft already deleted — may return 404 if the draft was previously removed","Forbidden — returns 403 if the authenticated user does not own the specified inbox"],"whenToPreferThis":"Use this endpoint when you need to permanently remove a specific draft email from an AgentMail AI agent inbox. Prefer this when cleaning up stale or unwanted drafts, canceling a composed message before it is sent, or managing draft lifecycle as part of an automated email workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:39:22.420Z","isFirstParty":false}