---
updatedAt: 2025-06-03T20:40:27.000Z
agentTools:
  projectIndex: https://docs.ol-hub.com/llms.txt
---

# delete module by name

The **delete module by name** API sends a DELETE request to delete a named module.

**Prerequisites**: The caller must supply the **name** for the requested module.

**Authorization**: API key

**Input parameters**:

| Field name | Description | Format |
| :--------- | :---------- | :----- |
| **name**   | Module name | String |

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Public APIs - Modules",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.qa.ol-hub.com/backend"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Module"
    }
  ],
  "paths": {
    "/api/v1/modules/{name}/delete-by-name": {
      "delete": {
        "tags": [
          "Module"
        ],
        "summary": "delete module by name",
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          },
          {
            "name": "name",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true,
            "example": "demo-account"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```