# Delete an axerve gateway

To [delete](https://docs.commercelayer.io/core/deleting-resources) an axerve gateway, send a `DELETE` request to the `/api/axerve_gateways/:id` endpoint, where `id` is the id of the axerve gateway that you want to delete.

## Request

**DELETE** <https://yourdomain.commercelayer.io/api/axerve\\_gateways/:id>

### Example

{% tabs %}
{% tab title="Request" %}
The following request tries to delete the axerve gateway identified by the ID "XAyRWNUzyN":

```shell
curl -g -X DELETE \
  'https://yourdomain.commercelayer.io/api/axerve_gateways/XAyRWNUzyN' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'
```

{% endtab %}

{% tab title="Response" %}
On success, the API responds with a `204 No Content` status code.
{% endtab %}
{% endtabs %}
