Update a flag import configuration
Updating a flag import configuration uses a JSON patch representation of the desired changes. To learn more, read Updates.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.You can update the config, tags, and name of the flag import configuration.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The project key
stringThe integration key
stringThe integration ID
stringRequest Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v2/integration-capabilities/flag-import/string/string/string" \ -H "Content-Type: application/json" \ -d '[ { "op": "replace", "path": "/exampleField" } ]'{ "_links": { "self": { "href": "string", "type": "string" }, "parent": { "href": "string", "type": "string" }, "project": { "href": "string", "type": "string" } }, "_id": "12ab3c4d5ef1a2345bcde67f", "integrationKey": "split", "projectKey": "default", "config": { "property1": null, "property2": null }, "tags": [], "name": "Development environment configuration", "version": 1, "_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": { "status": "pending", "lastImport": "1717263000000", "lastError": "1714584600000", "errors": [ { "integrationId": "string", "message": "string", "statusCode": 0, "timestamp": 0 } ] }}Get a single flag import configuration GET
Get a single flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.
Delete a flag import configuration DELETE
Delete a flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.