hosting
DELETE /v1/sites/{siteId}/mysql-access/{userId}/{aclId}
Withdraw one MySQL access rule.
Autenticazione
Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione sites.panel_access; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X DELETE https://api.zinndigital.com/v1/sites/{siteId}/mysql-access/{userId}/{aclId} \
-H "Authorization: Bearer zdk_live_…"Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
Requires `sites.panel_access`. Confirmed by re-reading the rules afterwards, because the vendor answers the same body whether the withdrawal happened or not.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
siteId (path) | Uuid | Sì | Site ID (UUIDv7). |
userId (path) | integer | Sì | The vendor's database-user id. |
aclId (path) | integer | Sì | 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. |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
data | SiteMysqlAccessUser[] | Sì | — |
Errori che questo endpoint può restituire
401 · 403 · 404 · 422 · 429 · 503