Removes specified tags from the group
| Param name | Description |
|---|---|
|
tags optional |
Comma separated list of tags to be removed from 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 |
Remove tag from group of child account by oem user if is_oem flag is true. Value: Must be a Boolean |
Request - remove tags from 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/untag
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": 1448439142,
"tags": "3-Phase,50-Amps"
}
}