Projects
Update flag default for project
Update a flag default. Updating a flag default uses a JSON patch or JSON merge patch representation of the desired changes. To learn more, read Updates.
patch/api/v2/projects/{projectKey}/flag-defaults
Path parameters
projectKeystring string required
The project key
The project key
Request body
Example request
[
{
"op": "replace",
"path": "/exampleField",
"value": "new example value"
}
]Response
Flag default response
Example response
{
"tags": [
"tag-1",
"tag-2"
],
"temporary": true,
"booleanDefaults": {
"trueDisplayName": "True",
"falseDisplayName": "False",
"trueDescription": "serve true",
"falseDescription": "serve false",
"offVariation": 1
},
"defaultClientSideAvailability": {
"usingMobileKey": true,
"usingEnvironmentId": true
}
}