Create integration link group

This function creates a group to store integrations links in the cPanel interface.

SecurityBasicAuth
Request
query Parameters
group_id
required
string

The group's ID within the system.

Warning:

If you create a link with a group_id value that already exists, the function replaces the existing group with the newly-created group.

Example: group_id=WHMCS
label
required
string

The label for the group to display in the cPanel interface.

Example: label=WHMCS+Control
order
required
integer >= 1

The order in which to display the group in the cPanel interface.

Note:

By default, the function will automatically create an item under the username menu in the interface header.

Example: order=1
user
required
string <username>

The cPanel account name.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/create_integration_group
Request samples
whmapi1 --output=jsonpretty \
  create_integration_group \
  user='username' \
  group_id='WHMCS' \
  label='WHMCS+Control' \
  order='1'
Response samples
application/json
{
  • "metadata": {
    • "command": "create_integration_group",
    • "reason": "Ok",
    • "result": 1,
    • "version": 1
    }
}