Unsubscribe (Live Data API Function)
Closes a subscription created with the subscribe function.
Note that subscriptions are automatically closed after a certain amount of time without a call to update. However, where possible it is preferred that you explicitly close your subscription.
Details
URL | /unsubscribe |
Method | GET or POST |
Parameter | Meaning |
---|---|
subscription | The subscription ID to unsubscribe |
Response
The response is empty - the response code should always be '200', even if you have passed an invalid or expired subscription ID.
Example
URL: /unsubscribe?id=JGOOQI