If you’ve already installed Azion Orchestrator Agent on your device, the next step is to authorize the edge node on the platform. You can do so using:
Go to install Orchestrator agent- Access Azion Console.
- On the upper-left corner of the page, open the Products menu, represented by three horizontal lines, and then select Edge Nodes.
- Find the edge node you wish to authorize, which will have the status
Waiting Authorization. - Click on the three dots button and then click Authorize.
- Confirm the authorization.
- Run the following
GETrequest in your terminal, replacing[TOKEN VALUE]with your personal token and retrieve the edge node ID you wish to authorize:
curl --location 'https://api.azionapi.net/edge_nodes/' \--header 'Accept: application/json; version=3' \--header 'Authorization: Token [TOKEN VALUE]'- Run the following
PATCHrequest in your terminal, replacing[TOKEN VALUE]with your personal token and informing the edge node ID:
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.