Update Tag Configuration API
You can use this API to update tag properties.
The Update Tag Configuration API allows you to set or modify any tag property values.
A Rename cannot be done using the Update Tag Configuration properties.
METHOD: | PUT |
URI: | https://<historianservername>:8443/historian-rest-api/v1/tags/properties/tagName |
SAMPLE DELETE URI: |
|
SAMPLE cURL COMMAND: | curl -i -H "Accept: application/json" -i -H "Content-Type: application/json" -H "Authorization: Bearer <TOKEN> -d ?{ \ ?Description\ ?:\ ?SampleDesc\ ?} -X PUT https://<historianservername>:8443/historian-rest-api/v1/tags/properties/tagName |
Query Parameters
Parameter | Description | Required? | Values |
---|---|---|---|
tagName | Tag name for which properties need to be set or modified. | Yes | String |
Payload | JSON array of PropertyName and PropertyValue. | At least one property must be provided. | Multidata types. See Payload Parameter for a list of tag properties used to update a tag configuration. |
Response Parameters
Parameter | Data Type | Required? | Description |
---|---|---|---|
ErrorCode | Integer | Yes | For example, 0. |
ErrorMessage | String | Yes | For example, NULL. |
Sample Payload
{
"Description" : "Test desc".
"CollectionOffset" : 4294967295
}
Sample Response
{
"ErrorCode": 0,
"ErrorMessage": null
}