Updating a group

Changes the name of the existing group.

PUT /push/v1/management/group/{groupId}

Request format

https://push.api.appmetrica.yandex.net/push/v1/management/group/{groupId}
groupId
Group ID.

Request body

{
  "group": {
    "name": "string"
  }
}
group
The group.
name *
New name for the group. Required parameter.

Required

Response format

{
  "group": {
    "id": 0,
    "app_id": 0,
    "name": "string"
  }
}
group
The group.
id

Group ID.

app_id
App ID.
name

Group name.

Sample request

curl -X POST \
  'https://push.api.appmetrica.yandex.net/push/v1/management/group/XXXXXX' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037'
  -d '{"group":{"name":"new_group_name"}}'