Last modified October 31, 2024

listFilePermissions

This function lists all File Permissions Objects.

Function call does not require parameters. View common sorting actions you can use to filter results.

Example Call JETAPI

jetbackup5api -F listFilePermissions
success: 1
message:
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
  licenseIssue:
data:
  permissions:
        0:
          _id: 650a0e808df8a8d49500eac2
          regex: public_html
          category: 3
          owner: example2
          group: nobody2
          recursive:
          dirs_permissions: 0777
          files_permissions: 0444
        1:
          _id: 650a0fe17dc16726ea01aaf2
          regex: example
          category: 1
          owner: test
          group: testgroup
          recursive: 1
          dirs_permissions: 0777
          files_permissions: 0777
  total: 2

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=listFilePermissions