Updating a group

Changes the name of the existing group.

Request format

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

groupId

Group ID.

Request body

{
  "group": {
    "name": "string",
    "send_rate": int
  }
}

group

Information about groups.

group.name*

New name for the group.

group.send_rate

Dispatch speed limit for push messages (messages per second).

The default value is 5000 (maximum).

The minimum value is 100.

Note

Reducing the speed allows you to decrease your handling service load.

Response format

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

group

Information about groups.

group.id

Group ID.

group.app_id

App ID.

group.name

Unique name of the group.

group.send_rate

Dispatch speed limit for push messages (messages per second).

The default value is 5000 (maximum).

The minimum value is 100.

Note

Reducing the speed allows you to decrease your handling service load.

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"}}'
GET /push/v1/management/group/XXXXXX HTTP/1.1
Host: push.api.appmetrica.yandex.net
Content-Type: application/json
Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037

{
  "group": {
    "name": "new_group_name"
  }
}

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

Contact support