curl --request DELETE \
--url http://localhost:8080/api/v2/environments/production/namespaces/default/resources/flipt.core.Flag/my-flag \
--header 'Accept: application/json'
{
"revision": "<string>"
}Flags
Delete Flag
Delete a flag by key.
DELETE
/
api
/
v2
/
environments
/
{environmentKey}
/
namespaces
/
{namespaceKey}
/
resources
/
{typeUrl}
/
{key}
curl --request DELETE \
--url http://localhost:8080/api/v2/environments/production/namespaces/default/resources/flipt.core.Flag/my-flag \
--header 'Accept: application/json'
{
"revision": "<string>"
}curl --request DELETE \
--url http://localhost:8080/api/v2/environments/production/namespaces/default/resources/flipt.core.Flag/my-flag \
--header 'Accept: application/json'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The environment identifier, e.g. 'production'.
The namespace key for which to list resources, e.g. 'default'.
The resource type - flipt.core.Flag or flipt.core.Segment.
The key of the resource to delete.
Query Parameters
Response
200 - application/json
OK
The response message for deleting a resource.
The resource revision for optimistic concurrency.
Was this page helpful?