Adds specified tags to the existing list of tags associated with the group

Params

Param name Description
tags
optional

Comma separated list of tags to be added to the group


Value: Must be a String
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean
is_oem
optional

Add tag in group of child account by oem user if is_oem flag is true.


Value: Must be a Boolean

Examples

Request - add tags to the specified group (group_key specified as a part of the url)
  curl -X PUT -H "Content-Type:application/json" -H "X-Auth-Token:49b7q_nYN4YZ2k-MsYx5Ng" -d '{"tags":"Balanced"}' https://api.datonis.io/api/v3/groups/ace98fcd44/tag

Response (group with updated tags)
{
  "group": {
    "created_at": 1448438832,
    "description": "Energy Meters Three Phase 50Amps",
    "group_key": "ace98fcd44",
    "group_type": 1,
    "name": "Energy Meters Three Phase 50Amps",
    "scope": "all",
    "thing_expression": null,
    "updated_at": 1448439061,
    "tags": "3-Phase,50-Amps,Balanced"
  }
}