---
title: "Unpublish a Module"
method: DELETE
path: "/modules/{module}"
tags: ["modules"]
---

# Unpublish a Module

`DELETE /modules/{module}`

This endpoint removes the module from the registry.

## Path parameters

- `module` string, required

## Response `204`

Success.

## Other responses

- `403` — Module is in use and can not be removed.
- `404` — Module not found or user unauthorized to perform action.
- `422` — Malformed request body (missing attributes, wrong types, etc.).
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/versions/fc927526ad12/schema)
