Waiting Room ダッシュボード または API で、Waiting Room を管理できます。
- アプリケーションで Traffic > Waiting Room を開きます。
- 対象のレコードで Edit を選択します。
- Settings を選択します。
- 設定を編集します。各設定の説明は 設定項目 を参照してください。
- Next を選択します。カスタムテンプレート を使える場合は、テンプレートも調整できます。
- Review まで進んだら Save を選択します。
- アプリケーションで Traffic > Waiting Room を開きます。
- 対象のレコードで Delete を選択します。
- もう一度 Delete を選択します。
設定済みの Waiting Room を 置き換える ↗ には、Cloudflare API のベース URL に次のエンドポイントを付けます。
Required API token permissions
At least one of the following token permissions is required:Waiting Rooms Write
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/waiting_rooms/$WAITING_ROOM_ID" \
--request PUT \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--json '{
"name": "webshop-waiting-room",
"host": "example.com",
"new_users_per_minute": 200,
"total_active_users": 300
}'設定済みの Waiting Room を 更新する ↗ には、Cloudflare API のベース URL に次のエンドポイントを付けます。
Required API token permissions
At least one of the following token permissions is required:Waiting Rooms Write
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/waiting_rooms/$WAITING_ROOM_ID" \
--request PATCH \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--json '{
"name": "webshop-waiting-room",
"host": "example.com",
"new_users_per_minute": 200,
"total_active_users": 300
}'PATCH リクエストのペイロードには、更新したいフィールドだけを含めれば十分です。
Waiting Room を削除するには、Waiting Room API ↗ の次のエンドポイントを、Cloudflare API のベース URL に付けます。
Required API token permissions
At least one of the following token permissions is required:Waiting Rooms Write
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/waiting_rooms/$WAITING_ROOM_ID" \
--request DELETE \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"