Update subscription by token
documentedUpdate a subscription identified by its token.
PATCH /apps/{app_id}/subscriptions_by_token/{token_type}/{token}Subscriptionsno implementation yet0 runsInput
app_id
OneSignal App ID
Your OneSignal App ID (UUID)
token_type*
Subscription token type
e.g. iOSPush, Email, AndroidPush
token*
Subscription token
The token corresponding to token_type
enabled
Subscription enabled
true or false
notification_types
Notification types
numeric flags
session_time
Session time
numeric (seconds)
session_count
Session count
numeric
app_version
App version
string
device_model
Device model
string
device_os
Device OS
string
test_type
Test type
numeric
sdk
SDK
string
rooted
Rooted device
true or false
web_auth
Web auth
string
web_p256
Web push p256
string
Calls OneSignal as you (your API key is your account); keychains.dev holds the credentials.