admArchiveSpace

Syntax

admArchiveSpace(spaceKey)

Description

 Archives a space (takes a space key as a parameter).

Parameters

Parameter name

Type

Required

Description

spaceKey

stringYesThe key of the Confluence space to archive

Return type

boolean (true/false)

Returns true if the space was successfully archived.

Example

return admArchiveSpace("PP");

Archives a space with key "MS"

See also