---
updatedAt: 2025-02-12T22:18:54.000Z
agentTools:
  projectIndex: https://developers.melroselabs.com/llms.txt
---

# Delete list

Delete a distribution list

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SMS API",
    "description": "The REST SMS API is used for sending, receiving and managing SMS between application and mobile devices. Phonebooks and distribution lists are also available. All dates/timestamps are in <a href=\"http://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format. API keys for including as the x-api-key header in requests can be obtained at <a href=\"https://melroselabs.com\">https://melroselabs.com</a>. This SMS API can be used in conjunction with the <a href=\"https://melroselabs.com/services/tyr-sms-gateway/\">Tyr SMS Gateway</a> and the <a href=\"https://melroselabs.com/services/smpp-sms-gateway/\">SMPP SMS Gateway</a> from Melrose Labs.",
    "contact": {
      "name": "Melrose Labs - Technical Support",
      "email": "support@melroselabs.com"
    },
    "version": "2019-07-27T08:49:36Z"
  },
  "servers": [
    {
      "url": "https://api.melroselabs.com/{basePath}",
      "variables": {
        "basePath": {
          "default": "/sms"
        }
      }
    }
  ],
  "paths": {
    "/directory/distributionlist/{list}": {
      "delete": {
        "tags": [
          "Distribution lists"
        ],
        "summary": "Delete list",
        "description": "Delete a distribution list",
        "parameters": [
          {
            "name": "list",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Empty"
                }
              }
            }
          }
        },
        "security": [
          {
            "api_key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Empty": {
        "title": "Empty Schema",
        "type": "object"
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```