Delete a webhook endpoint
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
When an address has no active endpoint left, its mail falls back to the workspace default webhook. Its custom headers are deleted too.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
endpointId*stringWebhook endpoint ID
Deleted
application/json- response
success*booleanremoved*boolean[key: string]?unknowncurl -X DELETE 'https://api.mailly.site/inbox/webhook/endpoints/string'{ "success": true, "removed": true, "property1": null, "property2": null}Create or update the inbound webhook PUT
Create or update the inbound webhook with the Mailly email API for AI agents: PUT /inbox/webhook. Parameters, request body, responses and code samples.
Delete an email DELETE
Delete an email with the Mailly email API for AI agents: DELETE /inbox/messages/{id}. Parameters, request body, responses and code samples.