The Delete Mirror Group API

Using the Delete Mirror Group API, you can delete a mirror group.
METHOD DELETE
URI
https://<historianservername>/historian-rest-api/v1/mirrorgroup
SAMPLE URI
https://<historianservername>/historian-rest-api/v1/mirrorgroup

Payload

{
"mirrorStorageName": "Mirror3",
}
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 “{ \”mirrorStorageName \”:\”name\”}” -X DELETE 
https://<historianservername>/historian-rest-api/v1/mirrorgroup

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.