Customers actions
Cancel the customer's push notifications subscription from all devices if push token not specified.
Cancel push notification subscriptions for a customer.
Unregisters a customer's push notification token for a specified external application. If push_token is provided, only that specific device registration is removed. If push_token is omitted, all device registrations for the customer and application are cancelled.
To register a device for push notifications, use POST /customers/actions/set-push-notifications (enterprise interface only).
⚠️ The endpoint is available only in the Enterprise interface.
post/customers/actions/cancel-push-notifications
Request body
Example request
{
"customer_id": "8ea2591121e636086a4a9c0992",
"external_application_id": "82de12eb8b138791e678fd11c3",
"push_token": "4f7f658bfa7a5959e093590"
}Response
No Content