Delete Route

Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.

To delete the specified route, you need to use the following DELETE request:

DELETE /gateways/{apigatewayId}/routes/{routeId}

Request

curl -X 'DELETE' \
  'https://apigateway.de-txl.ionos.com/gateways/0620c174-dd3c-5eb4-87c8-e2b516553a00/routes/50982018-bb17-5cb9-bcd4-97f8bbc7dc23' \
  -H 'accept: application/json'

Result: On a successful DELETE request, you receive a response 202 - Successful.

Response

202 Deleting Route was successful

Last updated