---
title: "Delete an app's feature flag"
method: DELETE
path: "/feature-flags/2026-03/{appId}/flags/{flagName}"
tags: ["Basic"]
---

# Delete an app's feature flag

`DELETE /feature-flags/2026-03/{appId}/flags/{flagName}`

Delete a feature flag in an app.  For example, delete the `hs-release-app-cards` flag after all accounts have been migrated.

## Path parameters

- `appId` integer, required
- `flagName` string, required

## Response `200`

successful operation

- CrmFeatureFlagsFlagResponse
  - `appId` integer, required — The ID of the app
  - `defaultState` 'ABSENT' | 'OFF' | 'ON', required — The flag state for any portal that doesn't have an override value
  - `flagName` string, required — The name of the flag
  - `overrideState` 'ABSENT' | 'OFF' | 'ON' — An optional flag value that overrides all others for this flag name and app, including portal-level values

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/versions/f9c7181056c5/schema)
