Update specific edge server details by its ID
/api/v1/edges/{edge_id}
API to update a specific edge server's details by its ID. Refer to Edge Server for more information about the edge object.
Access Token
is required via Bearer token authentication.
Refer to Authentication for more information.
{
"data": {
"id": "string",
"name": "string",
"description": "string",
"status": "active",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}
const response = await fetch('https://openapi.deeplyinc.com/api/v1/edges/edge_123', {
method: 'PATCH',
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"name": "New Edge Server Name"
})
});
const data = await response.json();
Unique identifier of the edge server
Name of the edge server
Description of the edge server