# /portal/{portalId}

Permanently delete a specific portal.

# 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": {
    "/portal/{portalId}": {
      "delete": {
        "tags": [
          "Portals",
          "Classic"
        ],
        "description": "Permanently delete a specific portal.",
        "operationId": "deletePortal",
        "parameters": [
          {
            "name": "portalId",
            "in": "path",
            "description": "Unique identifier of the portal to delete",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortalIdApiDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PortalIdApiDto": {
        "title": "Portal ID",
        "description": "Response containing portal identifier",
        "properties": {
          "portalId": {
            "description": "Unique identifier of the portal",
            "type": "integer",
            "nullable": false
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    {
      "name": "Portals",
      "description": "Portals provide a branded hub where users access a curated collection of forms. Use these endpoints to manage a portal and its forms and users—copying (to create new portals), editing, and deleting portals, adding, editing, and removing portal forms, managing portal users, and setting or removing the portal avatar."
    },
    {
      "name": "Classic",
      "description": "Classic"
    }
  ]
}
```