Syntax

deletePage(pageId)

Description

Deletes the selected page.

Parameters

Parameter name

Type

Required

Description

page ID

numberyesID of page to be deleted.

Return type

boolean (true/false)

Examples

Example 1

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

Print Return true

Example 2

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

See also