Skip to main content

delete_plugin_config

Function delete_plugin_config 

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

DELETE /api/plugin-configs/{name} — removes the named definition, then revalidates and recompiles. Returns {"status": "deleted"} on success.

Errors: 404 Not Found if it does not exist; 400 Bad Request if a policy still references it (recompilation fails, nothing changes).