# /smartlists/{smartListId}

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Formstack API v2025.0",
    "version": "0.0.4"
  },
  "servers": [
    {
      "url": "https://www.formstack.com/api/v2025",
      "description": "Production server"
    },
    {
      "url": "https://staging-formstack.com/api/v2025",
      "description": "Staging server"
    },
    {
      "url": "https://dev-formstack.com/api/v2025",
      "description": "Development server"
    }
  ],
  "paths": {
    "/smartlists/{smartListId}": {
      "delete": {
        "tags": [
          "Smart List"
        ],
        "operationId": "deleteSmartList",
        "parameters": [
          {
            "name": "smartListId",
            "in": "path",
            "description": "ID of the smart list to delete",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "SmartList deleted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceIdDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "SmartList not found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ResourceIdDto": {
        "title": "Resource Identifier",
        "description": "Contains the identifier of a resource after an operation",
        "properties": {
          "id": {
            "description": "The identifier of the resource",
            "type": "integer",
            "format": "int64",
            "example": 1
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    {
      "name": "Smart List",
      "description": "Smart Lists are reusable sets of options that can be shared across fields and forms, so option sets are maintained in one place rather than per field. Use these endpoints to list smart lists and to create, retrieve, update, and delete a smart list."
    }
  ]
}
```