メインコンテンツへスキップ
PUT
/
feature-flags
/
v3
/
{appId}
/
flags
/
{flagName}
/
portals
/
{portalId}
アカウントフラグ状態を設定
curl --request PUT \
  --url https://api.hubapi.com/feature-flags/v3/{appId}/flags/{flagName}/portals/{portalId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "flagState": "ABSENT"
}
'
{
  "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」)。

portalId
integer<int32>
必須

アプリをインストールしたアカウントのID。

ボディ

application/json
flagState
enum<string>
必須

このポータルの指定したフラグの状態

利用可能なオプション:
ABSENT,
OFF,
ON

レスポンス

successful operation

appId
integer<int32>
必須

アプリのID

flagName
string
必須

フラグの名前

flagState
enum<string>
必須

このポータルのフラグの状態

利用可能なオプション:
ABSENT,
OFF,
ON
portalId
integer<int32>
必須

ポータルのID

Last modified on April 13, 2026