Creates a webhook
Create a new webhook.
Headers
Authorization
Request
This endpoint expects an object.
url
The URL of the remote webhook
sign
If sign is false, the webhook does not include a signature header, and the secret can be omitted.
on
Whether or not this webhook is enabled.
name
A human-readable name for your webhook
secret
If sign is true, and the secret attribute is omitted, LaunchDarkly automatically generates a secret for you.
statements
Represents a Custom role policy, defining a resource kinds filter the webhook should respond to.
Response
Webhook response
_links
The location and content type of related resources
_id
The ID of this webhook
url
The URL to which LaunchDarkly sends an HTTP POST payload for this webhook
on
Whether or not this webhook is enabled
name
A human-readable name for this webhook
secret
The secret for this webhook
statements
Represents a Custom role policy, defining a resource kinds filter the webhook responds to.
_access
Details on the allowed and denied actions for this webhook