For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Update a webhook’s settings. Updating webhook settings uses a JSON patch representation of the desired changes. To learn more, read Updates.
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/webhooks/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"op": "replace",
"path": "/on",
"value": false
}
]
'{
"_links": {},
"_id": "57be1db38b75bf0772d11384",
"url": "http://www.example.com",
"on": true,
"tags": [
"examples"
],
"name": "Example hook",
"secret": "frobozz",
"statements": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"_access": {
"denied": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
],
"allowed": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the webhook to update
Webhook response
The location and content type of related resources
Show child attributes
The ID of this webhook
"57be1db38b75bf0772d11384"
The URL to which LaunchDarkly sends an HTTP POST payload for this webhook
"http://www.example.com"
Whether or not this webhook is enabled
true
List of tags for this webhook
["examples"]A human-readable name for this webhook
"Example hook"
The secret for this webhook
"frobozz"
Represents a Custom role policy, defining a resource kinds filter the webhook responds to.
Show child attributes
Details on the allowed and denied actions for this webhook
Show child attributes
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/webhooks/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"op": "replace",
"path": "/on",
"value": false
}
]
'{
"_links": {},
"_id": "57be1db38b75bf0772d11384",
"url": "http://www.example.com",
"on": true,
"tags": [
"examples"
],
"name": "Example hook",
"secret": "frobozz",
"statements": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"_access": {
"denied": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
],
"allowed": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
]
}
}