templategroup.create

    This method allows to create new template groups.

    This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See for more information.

    (object) Returns an object containing the IDs of the created template groups under the groupids property. The order of the returned IDs matches the order of the passed template groups.

    Creating a template group

    Create a template group called “Templates/Databases”.

    Response:

    1. "jsonrpc": "2.0",
    2. "result": {
    3. ]
    4. },
    5. "id": 1

    CTemplateGroup::create() in ui/include/classes/api/services/CTemplateGroup.php.