Transfer subscription
Transfer a Subscription to a different user within the same OneSignal app. Useful for associating existing Subscriptions like push, email, or SMS with a new or updated user identity.
patch/apps/{app_id}/subscriptions/{subscription_id}/owner
Request
- Base URLhttps://api.onesignal.com
- URLhttps://api.onesignal.com/apps/{app_id}/subscriptions/{subscription_id}/owner
- Authnone required
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
subscription_idstring required
The unique Subscription ID in UUID v4 format to transfer to the new user.
Request body
Response
200
Example response
{
"identity": {
"external_id": "the-external-id-transferred-to",
"onesignal_id": "the-onesignal-id-transferred-to"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.