Delete an email
Delete an email with the Mailly email API for AI agents: DELETE /inbox/messages/{id}. Parameters, request body, responses and code samples.
DELETE
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
id*stringEmail ID
Deleted
application/json- response
success*boolean[key: string]?unknowncurl -X DELETE 'https://api.mailly.site/inbox/messages/string'{ "success": true, "property1": null, "property2": null}Delete a webhook endpoint DELETE
Delete a webhook endpoint with the Mailly email API for AI agents: DELETE /inbox/webhook/endpoints/{endpointId}. Parameters, request body, responses and code samples.
Delete an inbox address and all of its emails DELETE
Delete an inbox address and all of its emails with the Mailly email API for AI agents: DELETE /inbox/addresses/{id}. Parameters, request body, responses and code samples.