For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete a forward rule

Permanently delete a forward rule along with its conditions and destinations. Messages already forwarded are not affected.

delete
Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
inbox_idintegerRequired

Inbound inbox ID

Example: 1
idintegerRequired

Forward rule ID

Example: 7
Responses
204

Forward rule deleted

No content

delete/api/inbound/inboxes/{inbox_id}/forward_rules/{id}
curl -X DELETE https://mailtrap.io/api/inbound/inboxes/{inbox_id}/forward_rules/{id} \
  -H 'Authorization: Bearer YOUR_API_KEY'

No content

Last updated

Was this helpful?