Article under construction.
Method | Request URI |
---|---|
POST | https://{company-name}.helloid.com/api/v1/selfservice/products/{productGUID}/filesystemdirectorysecurityaction |
POST | https://{company-name}.helloid.com/api/v1/selfservice/products/{productCode}/filesystemdirectorysecurityaction |
Example request:
{ "executeOnState": 1, "variables": [ { "name": "path", "value": "C:\\tmp\\SomePath", "typeConstraint": "string", "secure": false }, { "name": "accountSid", "value": null, "typeConstraint": "string", "secure": false }, { "name": "accountName", "value": "ExampleUser", "typeConstraint": "string", "secure": false }, { "name": "domain", "typeConstraint": "string", "defaultValue": "{{company.defaultAdDomain}}", "secure": false }, { "name": "accessControlType", "value": 0, "typeConstraint": "number", "secure": false }, { "name": "fileSystemRights", "value": 0, "typeConstraint": "int", "secure": false }, { "name": "inheritanceFlags", "value": 0, "typeConstraint": "int", "secure": false }, { "name": "propagationFlags", "value": 0, "typeConstraint": "int", "secure": false } ] }
Example response:
{ "actionGUID": "195b685b-80ab-4036-9343-6679a46f00f8", "name": "Add file system directory security", "options": 1, "objectGUID": "87ed7ecc-0ee7-4d9c-a718-341d2f6861fe", "executeOnState": 1, "automationStoreTaskId": "bada07fc-1583-43f1-977e-be6f8f3ba761", "automationStoreTaskVersion": "1.0.0", "executionType": "native", "executionEntry": "filesystem-add-directory-security", "executionEnvironment": "helloid-agent", "executionMinimumVersion": "1.1.0", "variables": [ { "id": "b31b4a89-a90a-4908-b830-9b363474aa80", "name": "accessControlType", "value": "0", "typeConstraint": "number", "secure": false, "isScriptVariable": false }, { "id": "3bfed2af-630a-46cb-a456-59d6364cda2f", "name": "accountName", "value": "ExampleUser", "typeConstraint": "string", "secure": false, "isScriptVariable": false }, { "id": "9eed95d6-e481-4f3d-9c0d-67f674a9e464", "name": "accountSid", "value": null, "typeConstraint": "string", "secure": false, "isScriptVariable": false }, { "id": "8d41afb8-261a-415b-be19-c0bb1ef7a79d", "name": "domain", "value": null, "typeConstraint": "string", "secure": false, "isScriptVariable": false }, { "id": "14bf2719-04cc-4308-a48f-e4f8ac9733b9", "name": "fileSystemRights", "value": "0", "typeConstraint": "int", "secure": false, "isScriptVariable": false }, { "id": "fa915e5c-7e08-473b-a785-4e7e3afa42eb", "name": "inheritanceFlags", "value": "0", "typeConstraint": "int", "secure": false, "isScriptVariable": false }, { "id": "63d55740-da1b-4a82-b0c0-165ba401dd12", "name": "path", "value": "C:\\tmp\\SomePath", "typeConstraint": "string", "secure": false, "isScriptVariable": false }, { "id": "879a8b83-360d-4aca-9e5d-b7cfcc1e02ad", "name": "propagationFlags", "value": "0", "typeConstraint": "int", "secure": false, "isScriptVariable": false } ] }