Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

admGetSpacesadmDeleteSpace(categoryNamespaceKey)

Description

Excerpt

Takes a category name and returns an array of spaces (CSpace structs) in that categoryPermanently deletes a space from Confluence.

Parameters

Parameter name

Type

Required

Description

category namespaceKey

stringyesThe name key of the category used to retrieve all spaces within that categoryspace to be deleted.

Return type

CSpace []

Returns an array of CSpace structures containing the space propertiesBoolean

True is operation was successful, false otherwise.

Example

Code Block
CSpace [] spaces = admGetSpacesreturn admDeleteSpace("ProductsTEMP");

for(CSpace space in spaces) {
	print(space.name);
}

...

Returns true if the space was deleted.

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "ps_conf"
labelsjira_comment_routine