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
Example request
[
{
"op": "replace",
"path": "/exampleField",
"value": "new example value"
}
]Response
Flag import response
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"
}
}