Message: UpdateDestinationExpirationTimeRequest

File: WebAPI/rules_1.proto

Description

Update destination expiration time. The request must be sent regularly (e.g., daily, after logon) for the current user’s device. The request should be sent before or together with request that adds the destination to a rule or destination group. Destination expiration time is set to 2 months by default (configurable) after receiving the request. When the destination expires, the server deletes it from rules and destination groups:

      If the list of actions in a rule becomes empty, the server deletes the rule.

      If a destination group becomes empty, the server leaves it as is.

Thus, the server never deletes a rule that has a destination group (including empty group) or a destination that does not expire (e.g., email_notif or profile_sms_notif).

Used in

RuleRequest

oneof destination

apple_push_notif

Type: shared_1.ApplePushNotif

Description: APN destination (for iOS devices).

google_push_notif

Type: shared_1.GooglePushNotif

Description: GCM destination (for Android devices).