The Mirror Group Update API

Using the Mirror Group Update API, you can update the name of a mirror group.
METHOD PUT
URI
https://<historianservername>/historian-rest-api/v1/mirrorgroup
SAMPLE URI
https://<historianservername>/historian-rest-api/v1/mirrorgroup

Payload

{
"mirrorStorageName": "Mirror2",

"mirrorStorageNewName": "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\”,\" mirrorStorageNewName \": \"sname\"}” -X PUT https://<historianservername>/historian-rest-api/v1/mirrorgroup

Query Parameters

Parameter Description Required? Values
Payload Contains the existing and new names of the mirror group that you want to rename. 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.