Skip to main content

unregister

Function unregister 

Source
pub async fn unregister(pool: &SqlitePool, id: &str) -> AppResult<()>
Expand description

Unregister a sidecar: delete its row, revoke its API key, and remove its webhook subscription (its delivery ledger cascades). Idempotent-ish: returns NotFound if the id is unknown.