hosting
DELETE /v1/site-blueprints/{siteBlueprintId}
Delete a site blueprint.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.blueprint.manage; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X DELETE https://api.zinndigital.com/v1/site-blueprints/{siteBlueprintId} \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
Removes the template and its screenshot. ⛔ **The backup is not deleted** — it is one of the customer's restore points and always was; the blueprint only held it open past the org's ordinary retention, and deleting the blueprint releases that pin. A blueprint that sites have been built from is refused with a `422`: the deployment rows are the record of what a live site was made from. Requires `sites.blueprint.manage`.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
siteBlueprintId (path) | Uuid | Ano | A SITE blueprint's id (UUIDv7) — one of the customer's own captured sites. ⛔ Not a `blueprintId`: that names a published stack recipe, and the two are different resources that u… |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404 · 422 · 429