Upsert Override
Path Parameters
projectId*string
featureFlagId*string
identity*string
Match
^(?:person_id|distinct_id|email|external_id):[\s\S]*?$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
isEnabled*boolean
variantKey?string|null|null
note?string|null|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/projects/string/feature-flags/string/overrides/string" \ -H "Content-Type: application/json" \ -d '{ "isEnabled": true }'{ "id": "string", "featureFlagId": "string", "identityType": "person_id", "identityValue": "string", "isEnabled": true, "variantKey": "string", "note": "string", "createdAt": "string", "updatedAt": "string"}{ "id": "string", "featureFlagId": "string", "identityType": "person_id", "identityValue": "string", "isEnabled": true, "variantKey": "string", "note": "string", "createdAt": "string", "updatedAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}