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.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
projectKey*string
The project key
Format
stringRequest Body
application/json
[index: integer]?
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v2/projects/string/flag-defaults" \ -H "Content-Type: application/json" \ -d '[ { "op": "replace", "path": "/exampleField" } ]'{ "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "tags": [ "tag-1", "tag-2" ], "temporary": true, "booleanDefaults": { "trueDisplayName": "True", "falseDisplayName": "False", "trueDescription": "serve true", "falseDescription": "serve false", "onVariation": 0, "offVariation": 1 }, "defaultClientSideAvailability": { "usingMobileKey": true, "usingEnvironmentId": true }}