| DELETE | /subscription/{EventType} | Unsubscribe from an event notification | |
|---|---|---|---|
| DELETE | /subscription | Unsubscribe from an event notification |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventType | path | WebhookSubscriptionEventType | Yes | The event type being removedAllowable Values
|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Name | Value | |
|---|---|---|
| MessageReceived | 1 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /subscription/{EventType} HTTP/1.1
Host: galaxymobile.api.client.prod.86degrees.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}