Batch

Batch delete account flag state

Changed on

Delete an account-level flag state for multiple HubSpot accounts at once. Use this endpoint to manage flag exposure for groups of HubSpot accounts.

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

Request

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

Path parameters

appIdinteger required

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

flagNamestring required

The name of the feature flag to be deleted.

Request body

portalIdsinteger[] required

An array of integers representing the unique identifiers of the portals for which the feature flag states are to be deleted.

Response

successful operation

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