hosting
DELETE /v1/sites/{siteId}/edge-domains/{hostname}
Stop serving this hostname from the deploy target.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar hosting.deploy.manage iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X DELETE https://api.zinndigital.com/v1/sites/{siteId}/edge-domains/{hostname} \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
Detaches the hostname at the provider and forgets it here. The DNS records are deliberately left in place: they are in the customer's zone, and a name that has stopped serving is a fixable state while a record we silently deleted is not. Requires `hosting.deploy.manage`.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
siteId (path) | Uuid | Evet | Site ID (UUIDv7). |
hostname (path) | string | Evet | The bound hostname, lower-cased and without a trailing dot. |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 404 · 422 · 429