v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Flag import configurations (beta)

Update a flag import configuration

Updating a flag import configuration uses a JSON patch representation of the desired changes. To learn more, read Updates.<br/><br/>To add an element to the import configuration fields that are arrays, set the path to the name of the field and then append /<array index>. Use /0 to add to the beginning of the array. Use /- to add to the end of the array.<br/><br/>You can update the config, tags, and name of the flag import configuration.

patch/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}

Path parameters

projectKeystring string required

The project key

The project key

integrationKeystring string required

The integration key

The integration key

integrationIdstring string required

The integration ID

The integration ID

Request body

opstring required

The type of operation to perform

pathstring required

A JSON Pointer string specifying the part of the document to operate on

valuestring

A JSON value used in "add", "replace", and "test" operations

Example request

[
  {
    "op": "replace",
    "path": "/exampleField",
    "value": "new example value"
  }
]

Response

Flag import response

_idstring required

The integration ID

integrationKey'split' | 'unleash' required

The integration key

projectKeystring required

The project key

configFormVariableConfig required
tagsstring[] required

List of tags for this configuration

namestring required

Name of the configuration

versioninteger required

Version of the current configuration

Example response

{
  "_id": "12ab3c4d5ef1a2345bcde67f",
  "integrationKey": "split",
  "projectKey": "default",
  "tags": [],
  "name": "Development environment configuration",
  "version": 1,
  "_access": {
    "denied": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ],
    "allowed": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ]
  },
  "_status": {
    "status": "pending"
  }
}