GalaxyMobile Client API

<back to all web services

DeleteSubscription

The following routes are available for this service:
DELETE/subscription/{EventType}Unsubscribe from an event notification
DELETE/subscriptionUnsubscribe from an event notification
DeleteSubscription Parameters:
NameParameterData TypeRequiredDescription
EventTypepathWebhookSubscriptionEventTypeYesThe event type being removed

Allowable Values

  • MessageReceived
ApiServiceRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringYesThe API Key required for authentication
WebhookSubscriptionEventType Enum:
NameValue
MessageReceived1
ApiServiceResponse Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
HeadingformstringNo
WasSuccessfulformboolNo
ModelStateformObjectNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}