ai

DELETE /v1/ai/images/credentials/{credentialId}

Stop using an image-provider key.

כל נקודות הקצה מסוג ai

אימות

שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה billing.manage; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

curl -X DELETE https://api.zinndigital.com/v1/ai/images/credentials/{credentialId} \
  -H "Authorization: Bearer zdk_live_…"

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

Deletes the secret from Vault and marks the row revoked. **The row is kept**, because metered usage points at it. ⛔ The row is revoked even if the Vault delete fails: every read path filters on the revocation, so a key we cannot delete is still a key we will never use again — whereas a failed revoke that left the row live would keep charging the customer's provider account after they asked us to stop. Requires `billing.manage`.

פרמטרים

שםסוגנדרשמה זה
credentialId (path)Uuidכן

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404 · 429