Skip to main content
Version: 4.59

revokePush

Deletes the _push_enabled userSetting and unregisters the app from FCM (Google) and APNS (Apple).

note

This will not remove any push tokens created by the application, but prevent the reception of push messages since the app is no longer linked to the specific push services.

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples

Example 1: Deletes the push user setting

Goal: Creating an example of a revoke push action

The revoke push action is needed, if the push notification setting of the app should be unset.

{
"type": "revokePush"
}

Result:

A revoke push action has been created.