---
title: "Delete an account flag state"
method: DELETE
path: "/feature-flags/2026-03/{appId}/flags/{flagName}/portals/{portalId}"
tags: ["Basic"]
---

# Delete an account flag state

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

Delete an account-level flag state for a specific HubSpot account. No request body is included.

## Path parameters

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

## Response `200`

successful operation

- CrmFeatureFlagsPortalFlagStateResponse
  - `appId` integer, required — The ID of the app
  - `flagName` string, required — The name of the flag
  - `flagState` 'ABSENT' | 'OFF' | 'ON', required — The state of the flag for this portal
  - `portalId` integer, required — The ID of the portal

## 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/revisions/f9c7181056c5/schema)
