Overview
This endpoint updates user-level properties for an existing user in your OneSignal app.- To change a user’s
identitylikeexternal_idor custom Aliases, use the Create alias and Delete alias APIs. - To manage a user’s
subscriptions, use the Create Subscription by alias or Create user APIs.
How to use this API
You must supply an alias in the request path:alias_label: The type of identifier (e.g.,external_id,onesignal_id, or a custom alias label).alias_id: The corresponding value for that label.
Headers
Your App API key with prefix Key. See Keys & IDs.
Optional. Identifies a specific subscription to update. Some user properties, such as Session Time and Session Count, will update values on both the User and the Subscription.
Path Parameters
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
The alias name or key to locate the user. Most commonly set as external_id but can be the onesignal_id or a custom alias.
The specific identifier for the given alias to identify the user.
Body
application/json
Response
202