Projects
Get flag defaults for project
Get the flag defaults for a specific project.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
projectKey*string
The project key
Format
stringResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/projects/string/flag-defaults"{ "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "key": "string", "tags": [ "tag-1", "tag-2" ], "temporary": true, "defaultClientSideAvailability": "{\"usingMobileKey\": true, \"usingEnvironmentId\": false}", "booleanDefaults": { "trueDisplayName": "True", "falseDisplayName": "False", "trueDescription": "serve true", "falseDescription": "serve false", "onVariation": 0, "offVariation": 1 }}Delete project DELETE
Delete a project by key. Use this endpoint with caution. Deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.
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).