> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dalyenergy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Module

> Delete a PV module from the workspace

# DELETE /modules/{module_id}

Permanently remove a PV module from the current workspace.

## Notes

* Requires a valid JWT with write access to the workspace.
* `module_id` is the workspace-scoped sequential index.
* Returns `404` if no module with the given ID exists in the current workspace.
* On success, returns `{"deleted": true}`.

<Warning>
  Deleting a module is irreversible. Ensure it is not referenced by any active energy model configurations before removing it.
</Warning>
