Last modified November 7, 2024

getFilePermissions

This function prints the objects data given its File Permissions Object ID.
Parameter name Type Description Possible Values Example
_id String REQUIRED File Permissions ID of the File Permissions Object   _id=5f864533cde674169f42ffe2

Example Call JETAPI

jetbackup5api -F getFilePermissions -D "_id={$FILE_PERMISSIONS_ID}"
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: _id: 650a0e808df8a8d49500eac2 regex: public_html category: 3 owner: example2 group: nobody2 recursive: dirs_permissions: 0777 files_permissions: 0444

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getFilePermissions&_id={$FILE_PERMISSIONS_ID}