Create or update flag defaults for project
Create or update flag defaults for a project.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The project key
stringRequest Body
application/json
A list of default tags for each flag
Whether the flag should be temporary by default
Which client-side SDK types can use this flag by default.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v2/projects/string/flag-defaults" \ -H "Content-Type: application/json" \ -d '{ "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 } }'{ "_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 }}Update flag default for project PATCH
Update a flag default. Updating a flag default uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
Get context kinds GET
Get all context kinds for a given project.