Update a push notification

PUT /groups/{groupId}/apps/{appId}/push/notifications/{messageId}

Update a push notification message.

Path parameters

Responses

  • 200 application/json

    Successfully updated.

    Hide response attributes Show response attributes object
    • allowed_ips string
    • appID string
    • label string
    • message string
    • topic string
    • created string
    • sent string
    • state string

      Values are sent or draft.

PUT /groups/{groupId}/apps/{appId}/push/notifications/{messageId}
curl \
 --request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/push/notifications/{messageId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "allowed_ips": "string",
  "appID": "string",
  "label": "string",
  "message": "string",
  "topic": "string",
  "created": "string",
  "sent": "string",
  "state": "sent"
}