POST api/Notifications/unsubscribe
Request Information
URI Parameters
None.
Body Parameters
DeviceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| channel | string |
None. |
|
| device_token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"channel": "sample string 1",
"device_token": "sample string 2"
}
application/xml, text/xml
Sample:
<DeviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <channel>sample string 1</channel> <device_token>sample string 2</device_token> </DeviceModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |