---
title: "deletePage"
canonical: "https://support.appfire.com/space/PSCONF/15306538/deletePage"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | deletePage(pageId) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Deletes the selected page.

Deletes the selected page.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | page ID | Number | Yes | ID of page to be deleted. |

## Return Type

**Boolean (true/false)**

Print Return true

## Examples

### Example 1

Print Return true

```javascript
boolean success = deletePage(11801);
print("Return " + success);
```

### Example 2

```javascript
number deletePage = getPage("PSCONF", "Delete Me");
deletePage(deletePage);
```

## See also

> Macro (contentbylabel)