hosting
DELETE /v1/sites/{siteId}/mysql-access/{userId}/{aclId}
Withdraw one MySQL access rule.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar sites.panel_access 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}/mysql-access/{userId}/{aclId} \
-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
Requires `sites.panel_access`. Confirmed by re-reading the rules afterwards, because the vendor answers the same body whether the withdrawal happened or not.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
siteId (path) | Uuid | Evet | Site ID (UUIDv7). |
userId (path) | integer | Evet | The vendor's database-user id. |
aclId (path) | integer | Evet | The grant's own id. ⛔ The only handle that removes it — the address is not sufficient, and a request keyed by address is accepted and withdraws nothing. |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
data | SiteMysqlAccessUser[] | Evet | — |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 404 · 422 · 429 · 503