Skip to main content

delete_consumer

Function delete_consumer 

Source
async fn delete_consumer(
    __arg0: State<Arc<SharedState>>,
    __arg1: Path<String>,
) -> impl IntoResponse
Expand description

DELETE /api/consumers/{name} — removes the named consumer and rebuilds the store. Returns {"status": "deleted"}.

Errors: 404 Not Found if the consumer does not exist.