---
title: "unload a WebAssembly custom rule module"
method: DELETE
path: "/mockserver/wasm/modules"
tags: ["wasm"]
---

# unload a WebAssembly custom rule module

`DELETE /mockserver/wasm/modules`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/wasm/modules`
- Auth: none declared

Removes the named WebAssembly custom rule module from the module store. Succeeds with an empty body; the module name is required as a query parameter.

## Query parameters

- `name` string, required

## Response `200`

WASM module unloaded (empty body)

## Other responses

- `400`: missing 'name' query parameter
- `403`: WASM support is disabled (enable with wasmEnabled=true)
- `404`: no WASM module is loaded under that name

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
