Set

Update the configuration of an existing webhook endpoint

tapit set webhook name=webhook-name [new_name=other-name] [url=https://example.com/hook] [event_types=deploy_status] [headers='Name:value'] [enabled=true|false]

Required

  • name

Parameters

  • name: Name of the webhook endpoint to update (required)
  • new_name: New name for the webhook endpoint
  • url: The http(s) URL events are POSTed to
  • event_types: Comma separated list of event types to send. Available: deploy_status
  • headers: Comma separated list of request headers as Name:value pairs (eg. headers=’X-Token:abc,X-Other:1’). Replaces all existing headers
  • enabled: Whether events are sent to this endpoint (true or false)