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_idintegerRequiredExample:
Inbound inbox ID
1idintegerRequiredExample:
Forward rule ID
7Responses
204
Forward rule deleted
No content
401
Unauthorized
application/json
403
Forbidden. The token lacks the permission required for this operation
(Access forbidden), has no access to the account
(Account access forbidden), or Email API/SMTP is not enabled for the
organization (empty response body).
application/json
404
Not found
application/json
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?

