Last modified November 7, 2024

getAccount

This function returns account settings and information by account ID.
Parameter name Value Description Possible values Example
_id String REQUIRED The Account ID.   _id=6126745fb3086938ff643643

This API call returns account object. To view the parameters returned by this function, click on Account Object.

Example Call JETAPI

jetbackup5api -F getAccount -D "_id={$ACOUNT_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: 6503e4ac6ea9d447360a963c
        uuid: 6fa109eba9dae3a36094e44674053f541bf9d89d
        username: user
        nickname:
        created: 2023-09-15T04:59:24+00:00
        domain: user.com
        owner: root
        owner_id: 6503d48bfc45b1addf0a9632
        owner_nickname: root
        owners:
                0: root
        owners_id:
                0: 6503d48bfc45b1addf0a9632
        homedir: /home/user
        ip:
        package: default
        packages:
        root:
        reseller:
        suspended:
        login_only:
        orphan:
        active: 1
        virtual:
        email:
        max_snapshots: -1
        backup_quota:
        backup_stats:
                511: 0
                1: 0
                2: 0
                4: 0
                128: 0
                256: 0
                8: 0
                16: 0
                32: 0
                64: 0
        tags:
        backup_type: 0
        encryption_key_type: 0
        privacy: 0
        queue_priority:
        last_active:
        secret_key:
        assignable_accounts: 1
        quota:
                disk_total: -1
                disk_usage: 1048576
                disk_free: -1
                inode_usage: 78

Example Call HTTP

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