The Delete Machine API

Using the Delete Machine API, you can remove a server from a Historian system.
METHOD DELETE
URI
https://<historianservername>/historian-rest-api/v1/machine
SAMPLE URI
https://<historianservername>/historian-rest-api/v1/machine

Payload

{
"nodeName": "",

}
SAMPLE RESPONSE
{

    "ErrorCode": 0,

    "ErrorMessage": null

}
SAMPLE cURL COMMAND
curl -i -H "Accept: application/json" -i -H "Content-Type: application/json"
-H "Authorization: Bearer <TOKEN>” -d “{ \”nodeName \”:\”name\”}” -X DELETE https://<historianservername>/historian-rest-api/v1/machine

Query Parameters

Parameter Description Required? Values
Payload Contains the name of the machine that you want to remove. Yes Multiple

Response Parameters

Parameter Data Type Required? Description
ErrorCode Integer Yes For example, ErrorCode = 0 implies the operation was successful.
ErrorMessage String Yes For example, NULL.