Starting or Stopping an Edge Node
Function
This API is used to start or stop an edge node. A stopped edge node cannot connect to cloud services. You can use the following URI to restore the edge node connection.
URI
POST /v2/{project_id}/edgemgr/nodes/{node_id}/action
| Parameter | Mandatory | Description |
|---|---|---|
| project_id | Yes | Project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
| node_id | Yes | Node ID. |
Request
Request parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| node | Yes | Table 3 object | Node information. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| action | Yes | String | Starting or stopping an edge node. Value: start or stop. |
Request example:
{
"node": {
"action": "start"
}
} Response
Response parameters
| Parameter | Type | Description |
|---|---|---|
| node | Table 5 object | Node information. |
| Parameter | Type | Description |
|---|---|---|
| action | String | Starting or stopping an edge node. Value: start or stop. |
Response example:
{
"node": {
"action": "start"
}
} Error Codes
For details, see Error Codes.
Last Article: Deleting an Edge Node
Next Article: Updating Devices for an Edge Node
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.