Groups

Create a new group

Create a new group using the provided data.

post/v2/groups

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": 9,
  "name": "ratione"
}

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.