# Delete Route

{% hint style="info" %}
**Prerequisite:** You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
{% endhint %}

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

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

## Request

```bash
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'
```

{% hint style="info" %}
**Result:** On a successful DELETE request, you receive a response 202 - Successful.
{% endhint %}

## Response

**202 Deleting Route was successful**
