Last modified November 7, 2024

manageAccount

This function lets you manage the account’s JetBackup settings.
Parameters
Parameter name Type Description Possible values Example
_id String REQUIRED The Account ID.   _id=6126745fb3086938ff643643
email String The email used to notify the user after each user-initiated processes.    
backup_quota boolean Whether backup quota is enabled on the specified account.   [email protected]
max_snapshots Integer The maximum snapshots allowed to create for the specified account.   max_snapshots=5
queue_priority String The ID of the queue priority to assign to the specified account.   queue_priority=1
tags List [] List of Tag IDs to assign to the account   tags[0]=64ee8eda75b29219cf697a82&tags[0]=64ee8ee3a4a9571ea9256162(Remove Tags): tags=

Returns standard API Response data.

Example Call JETAPI

jetbackup5api -F manageAccount -D "_id={$ACCOUNT_ID}&email={$EMAIL}&max_snapshots={$VALUE}"
success: 1
message: Account updated successfully
system:
version: 5.3.3
version_panel: 5.3.3
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageAccount&_id={$ACCOUNT_ID}&email={$EMAIL}&max_snapshots={$VALUE}