lib/jss/api_object/webhook.rb
def disable
      raise JSS::NoSuchItemError, 'Save the webhook before disabling it' unless @in_jss
      self.enabled = false
      save
    end
# Disable this webhook, saving the new state immediately
#
# @return [void]
#
Disable this webhook, saving the new state immediately
Disable this webhook saving the new state immediately
def disable
      raise JSS::NoSuchItemError, 'Save the webhook before disabling it' unless @in_jss
      self.enabled = false
      save
    end
def disable raise JSS :: NoSuchItemError , 'Save the webhook before disabling it' unless @in_jss self . enabled = false save end
Disable this webhook, saving the new state immediately
Disable this webhook saving the new state immediately
None
void