Get audit log subscription by ID
Get an audit log subscription by ID.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The integration key
stringThe subscription ID
stringResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/integrations/string/string"{ "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "_id": "1234a56b7c89d012345e678f", "kind": "datadog", "name": "Example Datadog integration", "config": { "property1": null, "property2": null }, "statements": [ { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow" } ], "on": true, "tags": [ "testing" ], "_access": { "denied": [ { "action": "string", "reason": { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow", "role_name": "string" } } ], "allowed": [ { "action": "string", "reason": { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow", "role_name": "string" } } ] }, "_status": { "successCount": 0, "lastSuccess": 0, "lastError": 0, "errorCount": 0, "errors": [ { "statusCode": 0, "responseBody": "string", "timestamp": 0 } ] }, "url": "string", "apiKey": "string"}Create audit log subscription POST
Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for. You can describe these resources using a custom role policy. To learn more, read [Custom role concepts](https://launchdarkly.com/docs/home/account/role-concepts).
Update audit log subscription PATCH
Update an audit log subscription configuration. Updating an audit log subscription uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).