stravalib.client.Client.delete_subscription#
- Client.delete_subscription(subscription_id: int, client_id: int, client_secret: str) None[source]#
Unsubscribe from webhook events for an existing subscription.
- Parameters:
- Return type:
Deletes the specific subscription using the subscription ID
Notes
Strava documents this call with the credentials in the URL query string. It also accepts them in a request body, which this method uses so that client_secret stays out of the URL. That body form is not documented, so it could stop working. It would fail loudly rather than quietly: every call would return 401.