hosting

DELETE /v1/sites/{siteId}/redirects/{redirectId}

Delete a redirect from a site.

Tüm hosting uç noktaları

Kimlik Doğrulama

Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view 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}/redirects/{redirectId} \
  -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

Removes one rule. As with the create, the vendor call is a whole-set write, so the engine reads the rules, drops this one and sends the rest back — the surviving rules are carried, never dropped as a side effect of removing one. `404` for a site with no managed hosting package, and for an id that is not on it. Requires `sites.view` and `sites.panel_access`.

Parametreler

AdTürZorunluNe olduğu
siteId (path)UuidEvetSite ID (UUIDv7).
redirectId (path)stringEvetThe opaque id returned by `listSiteRedirects`. Engine-minted and base64url, so it carries `-` and `_`; percent-encode it rather than assuming it is path-safe.

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 409 · 422 · 429 · 503