GetAccountByID

You can use GetAccountByID to get details about a specific account, given its accountID.

Parameters

This method has the following input parameters:

Name Description Type Default value Required
accountID The account ID of the account for which to get information. integer None Yes

Return value

This method has the following return value:

Name Description Type
account Account details. account

Request example

Requests for this method are similar to the following example:

{
   "method": "GetAccountByID",
   "params": {
     "accountID"  : 3
   },
   "id" : 1
}

Response example

This method returns a response similar to the following example:

{
    "account": {
        "attributes": {},
        "username": "account3",
        "targetSecret": "targetsecret",
        "volumes": [],
        "enableChap": true,
        "status": "active",
        "accountID": 3,
        "storageContainerID": "abcdef01-1234-5678-90ab-cdef01234567",
        "initiatorSecret": "initiatorsecret"
    }
}

New since version

9.6