Stopping a Webhook Subscription
Stopping a Webhook Subscription

Stopping a Webhook Subscription

As long as you have a functioning webhook subscription, you can stop the subscription at any time by taking the following steps.
  1. Send GET request to api.zebra.com/v2/devices/environmental-sensors/event/subscription/:subscriptionId/stop You will need to provide the specific subscriptionId you want stopped as a path variable. Be sure to use your own Client Key and tenant for your subscription.
  2. Your cURL should look similar to the following example.
    cURL to Stop a Webhook Subscription Example
  3. If your subscription stopped successfully, you will receive an empty 200 OK response.
  4. If you are trying to stop a subscription that is currently stopped, you will receive a 409 Conflict response because you cannot stop a subscription that is not running.