Message: CreateOrModifyDestinationGroupRequest

File: WebAPI/rules_1.proto

Description

Create or modify a destination group.

Used in

RuleRequest

Fields

destination_group_id

Type: string

Description: ID of the group to modify or create if it does not exist.

destination_to_remove

Type: shared_1.Destination

Description: Destination to remove from the group. If it is not found among the existing ones, it is ignored. Destination is identified by the following set of parameters: (device_token, app_id) for ApplePushNotif, (registration_token, sender_id) for GooglePushNotif, (recipients) for EmailNotif, (phone_number) for SmsNotif.

Note: Either this or destination_to_add_or_update field must be specified.

destination_to_add_or_update

Type: shared_1.Destination

Description: Destination to add or update in the group. Existing member in the group referring the same destination will be overwritten. See comment of destination_to_remove field of how destinations are identified.