Remove a site from your Search Console
google-search-console.x.webmasters-sites-deletesites.delete — Removes a site from the set of the user's Search Console sites.
- 価格
- freeカタログ価格で提供
- 成功率
- —成功率データはまだありません直近 30 日 · 0 回
- レイテンシ p50
- ——
- 最終確認
- —未確認
DELETEhttps://toolswitch.dev/v1/tools/google-search-console.x.webmasters-sites-deleteBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
siteUrl | 文字列 | 必須 | Pass the raw property URI; treg encodes it. **Examples:** `http://www.example.com/` or `sc-domain:example.com`. | |
- パスパラメータ
siteUrl文字列必須Pass the raw property URI; treg encodes it. **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X DELETE 'https://toolswitch.dev/v1/tools/google-search-console.x.webmasters-sites-delete' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"DELETE",
"https://toolswitch.dev/v1/tools/google-search-console.x.webmasters-sites-delete",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-search-console.x.webmasters-sites-delete", {
method: "DELETE",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。