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 | string | yes | The name key of the category used to retrieve all spaces within that categoryspace to be deleted. |
Return type
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) | ||||||||
---|---|---|---|---|---|---|---|---|
|