This function allows you to create/modify the Account Filter Object.
More InfoSuccessful function returns a complete Account Filter Object
{ "success": 1, "message": "Account Filter Created Successfully", "data": { "_id": "619f1c63477768734a51bdf2", "group_id": "619f1c63477768734a51bdf3", "type": 2, "name": "Account Filter API", "owner": "619e5b3edc8b2c3efb6ed972", "owner_name": "root", "count": 0, "condition": 1, "list": [ "acct001" ] }, "system": { "version": "5.1.14", "version_panel": "5.1.14", "tier": "STABLE", "type": "cPanel", "disableui": false, "dr": false, "agreement_panel": false, "agreement": false, "licenseIssue": false } }
This function allows you to delete the object given its Account Filter ID.
More InfoThis function prints the objects data given its Account Filter Group ID.
More InfoParameter name | Type | Description | Possible Values | Example | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_id | String | The Account Filter ID. | N/A | {
"_id": "5b28f9f4d5ac5e5ed5049f82"
}
|
||||||||||||||||||||
group_id | String | The Account Filter Group ID associated to Backup Jobs. | N/A | {
"group_id": "5b6a87abd5ac5e655e2018d3"
}
|
||||||||||||||||||||
type | Integer (Binary Left Shift) | The type of Account Filter. |
|
{
"type": 2
}
|
||||||||||||||||||||
name | String | The Account Filter name. | N/A | {
"name": "Test Account Filter"
}
|
||||||||||||||||||||
owner | String | The Account Filter Owner's ID | N/A | {
"owner": "6070a5a3fae2cf5881160c03"
}
|
||||||||||||||||||||
owner_name | String | The Account Filter Owner's name. | N/A | {
"owner_name": "root"
}
|
||||||||||||||||||||
count | Integer | The Number of Backup Jobs which the Account Filter is assigned to. | N/A | {
"count": 1
}
|
||||||||||||||||||||
condition | Integer | Whether you want to exclude/include the account in the list. |
|
{
"condition": 2
}
|
||||||||||||||||||||
list | List[] of Strings | List of Filter Type specific objects assigned to the Account Filter. (Only for Filter Types 2 | 4 | 64 | 512) |
|
{
"list": [
"testacct1",
"testacct2"
]
}
|
||||||||||||||||||||
usage | Integer | The Usage Limit for the Filter Type specific parameter assigned to the Account Filter. (Only for Filter Types 16 | 32) |
|
{
"usage": 4096
}
|
||||||||||||||||||||
rangestart | String | The starting character for the range you want to filter by. (Only for Filter Type 128) | 0-9_a-z | {
"rangestart": "0-9_a-z"
}
|
||||||||||||||||||||
rangeend | String | The ending character for the range you want to filter by. (Only for Filter Type 128) | 0-9_a-z | {
"rangeend": "0-9_a-z"
}
|
||||||||||||||||||||
regex | String | The regular expression you want to filter by. (Only for Filter Types 128 | 256*) | /^[0-9_a-z]/i | {
"regex": "/^[acct01]/i"
}
|