Flags
DELETEDelete a flag
Delete a feature flag from a project by its key
DELETE
/v1/projects/{projectId}/flags/{flagKey}Delete a flag
curl --request DELETE \
--url 'http://localhost:4000/v1/projects/{projectId}/flags/{flagKey}' \
--header 'Authorization: Bearer <token>'200
application/json{}Delete a flag
Use this endpoint to delete a feature flag identified by its flagKey within a project. The flag key is scoped to the project in the route, so provide the project ID that owns the flag.
Deleting a flag removes it from the project’s managed flag definitions. Use the Get a flag and List flags operations to confirm the project and flag key before deletion.
Authentication
AuthorizationbearerrequiredServer API key (srv_). See Authentication.
Path Parameters
projectIdstringrequiredProject ID
flagKeystringrequiredFlag key