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}
Path parameters
groupIdGroup ID.

Request body

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

The dispatch speed limit for push messages (number per second).

The default value is 5000 (maximum).

The minimum acceptable value is 100.
Note. Reducing the speed allows you to decrease your handling service load.

Required

Response format

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

Group ID.

app_id
App ID.
name

The name of the group.

send_rate

The dispatch speed limit for push messages (number per second).

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"}}'