Groups

Update a group

Update a group with the data provided in the request.

patch/v2/groups/{id}

Request

Headers

x-customer-api-keystring

Request body

account_idinteger nullable

The <code>id</code> of an existing record in the accounts table.

music_profile_idinteger nullable

The <code>id</code> of an existing record in the music_profiles table.

namestring required

Example request

{
  "account_id": 5,
  "music_profile_id": 1,
  "name": "sed"
}

Response

Success

Example response

{
  "data": {
    "id": 17351,
    "account_id": 19120,
    "music_profile_id": null,
    "name": "Music",
    "analytics": {
      "data": {
        "players": 0,
        "announcements": 1,
        "mixes": 0,
        "radios": 0
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.