diff --git a/ciscosparkapi/api/webhooks.py b/ciscosparkapi/api/webhooks.py index 0adf522..3775c47 100644 --- a/ciscosparkapi/api/webhooks.py +++ b/ciscosparkapi/api/webhooks.py @@ -247,7 +247,7 @@ def update(self, webhookId, **update_attributes): "argument must be specified." raise ciscosparkapiException(error_message) # API request - json_obj = self.session.post('webhooks/' + webhookId, + json_obj = self.session.put('webhooks/' + webhookId, json=update_attributes) # Return a Webhook object created from the response JSON data return Webhook(json_obj)