I am looking to convert the following command to a REST Private CLI endpoint/command. REST is straightforward for simple commands, however in this instance there are multiple qualifiers.
Here is the command. Mainly looking for how to represent everything after security on the LH side . file-directory ntfs sacl. When I attempted to build this out as an endpoint ...api/vserver/security/file_directory/ntfs/sacl I got an error.
*vserver security file-directory ntfs sacl add -vserver {{ vserver }} -ntfs-sd {{ sdname }} -access-type failure -account Everyone -advanced-rights read-data,execute-file,write-data,append-data,delete,delete-child,write-perm,write-owner -apply-to this-folder,sub-folders,files
*