For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Update an audit log subscription configuration. Updating an audit log subscription uses a JSON patch representation of the desired changes. To learn more, read Updates.
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/integrations/{integrationKey}/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"op": "replace",
"path": "/on",
"value": false
}
]
'{
"_links": {},
"_id": "1234a56b7c89d012345e678f",
"kind": "datadog",
"name": "Example Datadog integration",
"config": {},
"statements": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"on": true,
"tags": [
"testing"
],
"_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>"
}
}
]
},
"_status": {
"successCount": 123,
"lastSuccess": 123,
"lastError": 123,
"errorCount": 123,
"errors": [
{
"statusCode": 123,
"responseBody": "<string>",
"timestamp": 123
}
]
},
"url": "<string>",
"apiKey": "<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 integration key
The ID of the audit log subscription
Integration response
The location and content type of related resources
Show child attributes
The ID for this integration audit log subscription
"1234a56b7c89d012345e678f"
The type of integration
"datadog"
A human-friendly name for the integration
"Example Datadog integration"
Details on configuration for an integration of this type. Refer to the formVariables field in the corresponding manifest.json for a full list of fields for each integration.
Show child attributes
Represents a Custom role policy, defining a resource kinds filter the integration audit log subscription responds to.
Show child attributes
Whether the integration is currently active
true
An array of tags for this integration
["testing"]Details on the allowed and denied actions for this subscription
Show child attributes
Details on the most recent successes and errors for this integration
Show child attributes
Slack webhook receiver URL. Only used for legacy Slack webhook integrations.
Datadog API key. Only used for legacy Datadog webhook integrations.
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/integrations/{integrationKey}/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"op": "replace",
"path": "/on",
"value": false
}
]
'{
"_links": {},
"_id": "1234a56b7c89d012345e678f",
"kind": "datadog",
"name": "Example Datadog integration",
"config": {},
"statements": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"on": true,
"tags": [
"testing"
],
"_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>"
}
}
]
},
"_status": {
"successCount": 123,
"lastSuccess": 123,
"lastError": 123,
"errorCount": 123,
"errors": [
{
"statusCode": 123,
"responseBody": "<string>",
"timestamp": 123
}
]
},
"url": "<string>",
"apiKey": "<string>"
}