Update flag targeting for a company

Changed on

Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update.

patch/apps/{appId}/envs/{envId}/companies/{companyId}/flags

Request

  • Base URL
    https://app.reflag.com/api
  • Auth
    HTTP bearer

Path parameters

appIdstring required

App identifier

envIdstring required

Environment identifier

companyIdstring required

Company ID within your application

Request body

changeDescriptionstring

Description of the change for audit history

notificationsstring[]

Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.

Response

Requested resource retrieved successfully

totalCountinteger required

Total number of flags

pageSizeinteger required

Page size

pageIndexinteger required

Page index

flagStateVersioninteger required

Environment flag-state version containing the completed mutation

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • info

      response property data/items/firstExposureAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/firstTrackAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/lastCheckAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/lastExposureAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/lastTrackAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/specificTargetValue list-of-types was narrowed by removing types null from media type application/json of response 200

    • warning

      for the path request parameter companyId, the maxLength was set to 128

    • info

      added the required property to the response with the status