This feature is in beta
To use this feature, pass in a header including the
LD-API-Version
key with value set tobeta
. Use this header with each call. To learn more, read Beta resources.Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
Integration configuration is an Enterprise feature
Integration configuration is available to customers on an Enterprise plan. To learn more, read about our pricing. To upgrade your plan, contact Sales.
You can use the integrations API to create, delete, and manage integration configurations.
An integration configuration stores and manages configuration details for an integration between LaunchDarkly and a third-party application. To learn more about building an integration, read Using the LaunchDarkly integration framework and Building partner integrations.
Get all integration configurations with the specified integration key. (Excludes persistent store and flag import configurations).
List of Integration Configurations
Invalid request
Invalid access token
Forbidden
Integration key not found
Rate limited
{- "items": [
- {
- "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}, - "_id": "string",
- "name": "Example Datadog integration",
- "_createdAt": 0,
- "_integrationKey": "datadog",
- "tags": [
- "testing"
], - "enabled": true,
- "_access": {
- "denied": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow",
- "role_name": "string"
}
}
], - "allowed": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow",
- "role_name": "string"
}
}
]
}, - "configValues": {
- "property1": null,
- "property2": null
}, - "capabilityConfig": {
- "approvals": {
- "additionalFormVariables": "invalid example"
}, - "auditLogEventsHook": {
- "statements": [
- {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow"
}
]
}
}
}
], - "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}
}
Create a new integration configuration. (Excludes persistent store and flag import configurations.)
name required | string The name of the integration configuration |
enabled | boolean Whether the integration configuration is enabled. If omitted, defaults to true |
tags | Array of strings Tags for the integration |
required | object The unique set of fields required to configure the integration. Refer to the |
object (CapabilityConfigPost) |
Integration Configuration response
Invalid request
Invalid access token
Forbidden
Integration key not found
Status conflict
Rate limited
{- "name": "Example integration configuration",
- "enabled": true,
- "tags": [
- "ops"
], - "configValues": {
- "optional": "an optional property",
- "required": "the required property",
}, - "capabilityConfig": {
- "approvals": {
- "additionalFormVariables": "invalid example"
}, - "auditLogEventsHook": {
- "statements": [
- {
- "resources": [
- "proj/*:env/*:flag/*;testing-tag"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow"
}
]
}
}
}
{- "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}, - "_id": "string",
- "name": "Example Datadog integration",
- "_createdAt": 0,
- "_integrationKey": "datadog",
- "tags": [
- "testing"
], - "enabled": true,
- "_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"
}
}
]
}, - "configValues": {
- "property1": null,
- "property2": null
}, - "capabilityConfig": {
- "approvals": {
- "additionalFormVariables": "invalid example"
}, - "auditLogEventsHook": {
- "statements": [
- {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow"
}
]
}
}
}
Get integration configuration with the specified ID. (Excludes persistent store and flag import configurations.)
Integration Configuration response
Invalid request
Invalid access token
Forbidden
Integration ID not found
Rate limited
{- "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}, - "_id": "string",
- "name": "Example Datadog integration",
- "_createdAt": 0,
- "_integrationKey": "datadog",
- "tags": [
- "testing"
], - "enabled": true,
- "_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"
}
}
]
}, - "configValues": {
- "property1": null,
- "property2": null
}, - "capabilityConfig": {
- "approvals": {
- "additionalFormVariables": "invalid example"
}, - "auditLogEventsHook": {
- "statements": [
- {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow"
}
]
}
}
}
Update an integration configuration. Updating an integration configuration uses a JSON patch representation of the desired changes. To learn more, read Updates.
Integration configuration response
Invalid request
Forbidden
Invalid resource identifier
Status conflict
Rate limited
[- {
- "op": "replace",
- "path": "/on",
- "value": false
}
]
{- "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}, - "_id": "string",
- "name": "Example Datadog integration",
- "_createdAt": 0,
- "_integrationKey": "datadog",
- "tags": [
- "testing"
], - "enabled": true,
- "_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"
}
}
]
}, - "configValues": {
- "property1": null,
- "property2": null
}, - "capabilityConfig": {
- "approvals": {
- "additionalFormVariables": "invalid example"
}, - "auditLogEventsHook": {
- "statements": [
- {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow"
}
]
}
}
}
Delete an integration configuration by ID. (Excludes persistent store and flag import configurations.)
Action succeeded
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "code": "invalid_request",
- "message": "Invalid request body"
}