SMS
Opt-out of SMS messages
Changed onThis will mark an SMS channel as opted-out (inactive) and it will not receive alerts even when they are addressed in the future. To opt the user back in, call the registration function again with a valid opted_in value.
post/api/channels/sms/opt-out
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.
Request body
Response
The msisdn/channel is opted-out of SMS notifications.
Changes
- breaking
added the new required request property
/ - info
the
request property's minLength was decreased from1to0
- breaking