curl --request PUT \ --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "segmentKey": "<segmentkey>" }'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Was this page helpful?