אימות
שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה reseller.manage; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.
המקום שבו מזהה הארגון שלך נכנס
נקודת קצה זו מקבלת את org_id כפרמטר שאילתת חיפוש. השאר אותו ריק והקריאה תכסה את כל תת-עץ הדיירות שלך; שלח אותו כדי לצמצם את הקריאה לארגון אחד.
מזהה הארגון שלך נמצא במסוף מפתחות ה-API בלוח הבקרה שלך, לצד המפתח עצמו. זהו אותו מזהה בכל קריאה שאתה מבצע.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X DELETE https://api.zinndigital.com/v1/branding/logo \
-H "Authorization: Bearer zdk_live_…"מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
Removes the logo from your panel, your sign-in page and future invoices. Requires `reseller.manage`. ⛔ Documents already issued keep theirs, and that is deliberate: a superseded logo is still the logo that was printed on last year's invoice.
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
org_id (query) | Uuid | לא | The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agen… |
purpose (query) | string<panel, favicon, email> | לא | Which mark to stop showing. ⛔ Without it "remove my favicon" clears the **panel** logo — a destructive off-by-one that a fixture setting only one of the two cannot see, because… |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
logo_url | string | כן | — |
sha256 | string | כן | — |
purpose | string<panel, favicon, email> | לא | Which mark was stored — echoed back so a caller can confirm. |
content_type | string | לא | — |
width | integer | לא | — |
height | integer | לא | — |
byte_size | integer | לא | — |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403 · 429