メインコンテンツへスキップ
POST
/
feature-flags
/
v3
/
{appId}
/
flags
/
{flagName}
/
portals
/
batch
/
delete
アカウントフラグ状態をバッチ削除
curl --request POST \
  --url https://api.hubapi.com/feature-flags/v3/{appId}/flags/{flagName}/portals/batch/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "portalIds": [
    123
  ]
}
'
{
  "portalFlagStates": [
    {
      "appId": 123,
      "flagName": "<string>",
      "flagState": "ABSENT",
      "portalId": 123
    }
  ]
}

Supported products

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

appId
integer<int32>
必須

アプリのID。

flagName
string
必須

フラグの名前(「hs-release-app-cards」または「hs-hide-crm-cards」)。

ボディ

application/json
portalIds
integer<int32>[]
必須

レスポンス

successful operation

portalFlagStates
object[]
必須
Last modified on April 13, 2026