links
DELETE /v1/content/external-sites/{siteId}
Remove a connected site we do not host.
אימות
שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.
נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X DELETE https://api.zinndigital.com/v1/content/external-sites/{siteId} \
-H "Authorization: Bearer zdk_live_…"מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
Forgets the site: its publishing credential and any backup credential are deleted from our secret store, the site leaves every list, and no lost-connection notice is sent for it again — including by a check already in flight. Monthly add-ons bought for the site stop billing. Backups of it we already hold stay downloadable until 30 days after they were taken and are then deleted; copies in the customer's own offsite storage are left there. Nothing on the site itself is changed. Gated on links.edit.
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
siteId (path) | string | כן | — |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
site_id | string | כן | — |
primary_domain | string | כן | — |
charges_stopped | integer | כן | Monthly add-on charges for this site that were stopped. |
backups_kept_until | string | כן | When the newest archive we hold for the site is deleted by retention; null if none. |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403 · 404