Update a flag
Changed onUpdate an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update.
patch/apps/{appId}/flags/{flagId}
Request
- Base URLhttps://app.reflag.com/api
- AuthHTTP bearer
Path parameters
appIdstring required
App identifier
flagIdstring required
Flag ID
Request body
Response
Requested resource retrieved successfully
Changes
- breaking
request property
list-of-types was narrowed by removing typesnullfrom media typeapplication/json - info
the request property
became nullable - info
the
//response's property pattern was changed from^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$to^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$for the status
- breaking
- info
added the required property
to the response with the status
- info