Skip to content

Delete a route

Request

Remove the rotue from the account.

Security
basicAuth
Path
idstringrequired

ID of the route

curl -i -X DELETE \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/routes/{id}'

Responses

OK

Bodyapplication/json
messagestring

A string describing the result of the operation

idstring

ID of the deleted route

Response
{ "message": "Route has been deleted", "id": "4f3bad2335335426750048c6" }