Email
Update an email channel
Changed onUpdate an email channel's opt-in and opt-out values for commercial email, transactional email, and open and click tracking.
put/api/channels/email/{email}
Request
- Base URLhttps://go.urbanairship.com
- Auth
- HTTP basic
- or HTTP bearer
- or OAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopeschn
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
emailstring required
Example:251d3318-b3cb-4e9f-876a-ea3bfa6e47bd
The email channel_id you want to modify.
Request body
Example request
{
"channel": {
"address": "tommy@example.com",
"device_type": "email",
"locale_country": "US",
"locale_language": "en",
"timezone": "America/Los_Angeles"
}
}Response
The email channel was updated.
Changes
- breaking
the
/request property format changed from no format todate-time - breaking
the
/request property format changed from no format todate-time - breaking
the
/request property format changed from no format todate-time - breaking
the
/request property format changed from no format todate-time
This list may be incomplete.
- breaking