---
name: azion-how-to-authorize-an-edge-node
description: >-
  Authorize an edge node with Azion Console or API v3 so it can run Orchestrator edge services.
---

# How to authorize an edge node

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

If you've already installed [Azion Orchestrator Agent](/en/documentation/guides/application-development/automation/install-orchestrator-agent/) on your device, the next step is to authorize the edge node on the platform. You can do so in Azion Console or with the Azion API.

[Go to install Orchestrator agent](/en/documentation/guides/application-development/automation/install-orchestrator-agent/)

## Authorize the edge node

### Console

1. Access [Azion Console](https://console.azion.com/) > **Edge Nodes**.
2. Find the edge node you wish to authorize, which will have the status `Waiting Authorization`.
3. Select the three dots button and then select **Authorize**.
4. Confirm the authorization.

### 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 you wish to authorize:

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

2. Run the following `PATCH` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/guides/platform/account-and-billing/personal-tokens/) and informing the edge node ID:

```bash
curl --location --request PATCH 'https://api.azionapi.net/edge_nodes/authorize' \
--header 'Accept: application/json; version=3' \
--header 'Authorization: Token [TOKEN VALUE]' \
--header 'Content-Type: application/json' \
--header 'accept: application/json; version=3' \
--data '{
    "edge_node_ids": [
        0
    ]
}'
```

Now, your edge node is authorized and able to work with [edge services](/en/documentation/platform/orchestrator/edge-services/).

> **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.

After the authorization, an edge node can take up to 10 seconds before services can be orchestrated on it.

## Authorize several edge nodes at once

To authorize several edge nodes in one action in Azion Console:

1. Access [Azion Console](https://console.azion.com/) > **Edge Nodes**.
2. Select the edge nodes you want to authorize. To select every edge node in the list, select the checkbox in the list header.
3. Select **Actions** and then select **Authorize**.
4. Select **Confirm**.

A confirmation message appears.
