---
name: azion-how-to-unbind-an-edge-service
description: >-
  Unbind an edge service from an Orchestrator edge node with Azion Console or API v3.
---

# How to unbind an edge service

> Platform versions: this page applies to API v3.x only, not to API v4.x.
> Equivalent page for API v4.x: [How to unbind an edge service](/en/documentation/guides/application-development/automation/unbind-service.md)
> Release stage: Deprecated.

You can unbind an edge service from an edge node in Azion Console or with the Azion API.

---

## Unbind the edge service

### Console

1. Access [Azion Console](https://console.azion.com/) > **Edge Nodes**.
2. Select the edge node from which you want to unbind a service.
3. Go to the **Services** tab.
4. Find the service you wish to unbind and select the trash can icon.
5. Confirm the unbinding.

### API

1. Run the following `GET` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/guides/platform/account-and-billing/personal-tokens/) and retrieve the edge node ID to which you wish to unbind an edge service:

```bash
curl --location 'https://api.azionapi.net/edge_nodes/' \
--header 'Accept: application/json; version=3' \
--header 'Authorization: Token [TOKEN VALUE]'
```

2. Run the following `GET` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/guides/platform/account-and-billing/personal-tokens/) and `:id` with the ID of the edge node, and retrieve the ID of the relation between the edge node and the chosen service:

```bash
curl --location 'https://api.azionapi.net/edge_nodes/:id/services' \
--header 'Accept: application/json; version=3' \
--header 'Authorization: Token [TOKEN VALUE]'
```

3. Run the following `DELETE` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/guides/platform/account-and-billing/personal-tokens/), `:node_id` with the ID of the edge node and `:bind_id` with the ID of the relation between edge node and edge service:

```bash
curl --location --request DELETE 'https://api.azionapi.net/edge_nodes/:node_id/services/:bind_id' \
--header 'Accept: application/json; version=3' \
--header 'Authorization: Token [TOKEN VALUE]'
```

Now, your edge node doesn't have a relation with this specific edge service anymore.

> **Tip**
>
> Check the [Azion API documentation](https://api.azion.com/v3) and the [OpenAPI specification](https://github.com/aziontech/azionapi-openapi/) to know more about all features available via API.
