Integration audit log subscriptions

Update audit log subscription

PATCH
/api/v2/integrations/{integrationKey}/{id}

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.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

integrationKey*string

The integration key

Formatstring
id*string

The ID of the audit log subscription

Formatstring

Request Body

application/json

[index: integer]?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v2/integrations/string/string" \  -H "Content-Type: application/json" \  -d '[    {      "op": "replace",      "path": "/on",      "value": false    }  ]'
{  "_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"}