admCreateSpace
Description
Creates a new space, optionally offering support for the category of the space.
Parameters
Or
Return Type
Boolean (true/false)
Returns true if the key and name aren't already used by another space.
Examples
Example 1
string spaceKey = "TST";
string spaceName = "New Test Space";
string spaceDescription = "New space create by Power Scripts";
string user = "admin";
return admCreateSpace(spaceKey, spaceName, spaceDescription, user);
Example 2
CSpace newSpace;
newSpace.key = "TST";
newSpace.name = "New Test Space";
newSpace.description = "New space create by Power Scripts";
newSpace.creator = "admin";
return admCreateSpace(newSpace);
See also
Peacock