Basic

Delete an account flag state

Changed on

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

delete/feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}
  • Auth
    API key in query parameter hapikey

Path parameters

appIdinteger required

The unique identifier of the app associated with the feature flag.

flagNamestring required

The name of the feature flag to delete.

portalIdinteger required

The unique identifier of the portal from which the feature flag will be deleted.

Response

successful operation

appIdinteger required

The ID of the app

flagNamestring required

The name of the flag

flagState'ABSENT' | 'OFF' | 'ON' required

The state of the flag for this portal

portalIdinteger required

The ID of the portal

Changes

  • 2026-09de25edbdcd67Revision changes
    • info

      the endpoint scheme security developer_hapikey was added to the API

    • info

      the endpoint scheme security oauth2 was removed from the API