Skip to main content
DELETE
/
feature-flags
/
v3
/
{appId}
/
flags
/
{flagName}
/
portals
/
{portalId}
Delete an account flag state
curl --request DELETE \
  --url https://api.hubapi.com/feature-flags/v3/{appId}/flags/{flagName}/portals/{portalId}
{
  "appId": 123,
  "portalId": 123,
  "flagName": "<string>",
  "flagState": "OFF"
}
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubFree
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Authorizations

hapikey
string
query
required

Path Parameters

flagName
string
required

The name of the flag, either hs-release-app-cards or hs-hide-crm-cards.

portalId
integer
required

The ID of the account that installed the app.

appId
integer
required

The ID of the app.

Response

successful operation

appId
integer
required
portalId
integer
required
flagName
string
required
flagState
enum<string>
required
Available options:
OFF,
ON,
ABSENT