Updates the group with given parameters

Params

Param name Description
group
required

Object containing information about the group to be updated


Value: Must be a Hash
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean

Examples

Request - containing parameters to be modified
  curl -X PUT -H "Content-Type:application/json" -H "X-Auth-Token:-Jt7v9qpdq8Ivi1WwQ6_iQ" -d '{"group":{"name":"Energy Meters Three Phase 50Amps","description":"Energy Meters Three Phase 50Amps","tags":"3-Phase,50-Amps"}}' https://api.datonis.io/api/v2/groups/9522a7a16t

Response (details of the group updated)
{
  "group": {
    "description": "Energy Meters Three Phase 50Amps",
    "group_key": "9522a7a16t",
    "name": "Energy Meters Three Phase 50Amps",
    "scope": "all",
    "tags_array": [
      "3-Phase",
      "50-Amps"
    ],
    "tags": "3-Phase,50-Amps",
    "created_at": 1428587904,
    "updated_at": 1417064371
  }
}