# sm.portal.destroy

Destroys a portal.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.portal.destroy( portal )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.portal.md#destroy)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `portal` | [Portal](../Game-Script-Environment/Userdata/Portal.md) | The portal to be destroyed. |
