Named users association
Changed onAssociate a channel or email address with a named user (named_user_id). If the named_user_id does not already exist, this operation will create it. If the channel_id or email address is already associated with the named_user_id, this operation will do nothing.
Request
- Base URLhttps://go.urbanairship.com
- Auth
- HTTP basic
- or HTTP basic
- or HTTP bearer
- or OAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopesnu
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"channel_id": "9c36e8c7-5a73-47c0-9716-99fd3d4197d5",
"named_user_id": "john_doe"
}Response
The request was accepted but is not guaranteed to be successfully processed. If the named user has more than 1,000 channels associated with it, the request will be ignored.
Changes
- breaking
removed
subschema #1: Named User association payload with Channel IDsubschema #2: Named User association payload with email addressfrom the request bodyoneOflist - info
added to the request body
oneOflist
This list may be incomplete.
- breaking
- breaking
removed
subschema #1: Associate channel_id with named usersubschema #2: Associate email with named userfrom the request bodyoneOflist
This list may be incomplete.
- breaking