Resource Groups
Create a resource group
Create a static or dynamic resource group. Set GROUPTYPE to "STATIC" or "DYNAMIC". Dynamic groups require CRITERIAEXPRESSION and condition/operator/valuefield triplets.
post/restapi/json/v1/resourcegroup
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"INPUT_DATA": {
"operation": {
"Details": {
"GROUPNAME": "Advance dynamic group",
"DESCRIPTION": "description",
"PARENTGROUPID": 2,
"POLICY": "Low",
"GROUPTYPE": "DYNAMIC",
"CRITERIAEXPRESSION": "( C1 AND C2) AND C3",
"NoOfCriteria": 3,
"condition_1": "DEPARTMENT",
"operator_1": "CONTAINS",
"valuefield_1": "Marketing",
"customType_1": "resource"
}
}
}
}Response
Resource group created
Example response
{
"operation": {
"name": "CREATE RESOURCE GROUP"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.