Method: Unit::Webhook.disable_webhook

Defined in:
lib/unit/models/webhook/webhook.rb

.disable_webhook(webhook_id:) ⇒ Object

Request to disable a webhook

Parameters:

  • webhook_id (String)

See Also:



75
76
77
# File 'lib/unit/models/webhook/webhook.rb', line 75

def disable_webhook(webhook_id:)
  Unit::Resource::WebhookResource.disable_webhook(webhook_id)
end