Definir o tipo de notificação push

COLOCAR /groups/{groupId}/apps/{appId}/push/notifications/{messageId}/type

Defina o tipo de uma notificação por push.

parâmetros de caminho

Respostas

  • 200

    Definido com sucesso.

PUT /groups/{groupId}/apps/{appId}/push/notifications/{messageId}/type
curl \
 --request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/push/notifications/{messageId}/type' \
 --header "Authorization: Bearer $ACCESS_TOKEN"