List ACME accounts
The LISTACCOUNTS
action lists the details of the ACME account belonging to the specified Sectigo Reseller account (loginName
).
Action: LISTACCOUNTS
Variable Name | Type | Max. Length | Description |
---|---|---|---|
|
string |
64 chars |
Your account username. This value is case sensitive. |
|
string |
128 chars |
Your account password. This value is case sensitive. |
|
string |
30 chars |
The action to be taken. In this case, the value is: |
|
string |
1 char |
(Optional) Indicates which ACME accounts should be included. The possible values are:
|
|
domainName |
7 chars |
(Optional) Indicates which accounts to be included with a timestamp of their last activity. The possible values are:
|
|
string |
32 chars |
(Optional/Conditional) Base64 url encoded ACME account ID. Required when
|
|
domainName |
32 chars |
(Optional/Conditional) Base64 url encoded Key ID for external account binding. When included, all accounts with matching EAB details are included. Ignored if |
|
integer |
(Optional) 0-based page index. |
|
|
integer |
(Optional) Number of elements per page. |
|
|
string |
1 char |
(Optional) Specifies whether to include the contact email addresses associated with an ACME account. The possible values are:
|
Sample request
curl --location --request POST 'https://secure.trust-provider.com/products/!ACMEAdmin' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'loginName=loginName' \
--data-urlencode 'loginPassword=loginPassword' \
--data-urlencode 'action=LISTACCOUNTS'
Success responses
{
"Accounts": [
{
"acmeAccountID": "ABc_123xYZ456",
"accountStatus": "pending",
"eabMACKeyb64url": "ZyX321_abc654DeF1",
"eabMACIDb64url": "ghM4321abc_D8765xyZ"
},
{
"acmeAccountID": "654ZYx321_cBA",
"accountStatus": "valid",
"userAgent": "CertbotACMEClient/0.31.0 (certbot; Red Hat Enterprise Linux) Authenticator/netscaler:ns_authenticator Installer/netscaler:ns_installer (run; flags: frn n) Py/2.7.5",
"ipAddress": "10.0.1.64",
"lastActivity": "2019-03-14T14:37:42Z",
"eabMACKeyb64url": "1FeD456cba_123XyZ",
"eabMACIDb64url": "Zyx5678D_cba1234Mhg"
},
{
"acmeAccountID": "1WD-12345oiUTy9876YSA",
"accountStatus": "deactivated",
"ipAddress": "10.0.1.66",
"lastActivity": "2019-03-11T10:43:43Z",
"eabMACKeyb64url": "0n1234_hgfD45678gNQ",
"eabMACIDb64url": "YS8765-trEw4321WD"
}
]
}
includeContacts
set to Y
{
"Accounts": [
{
"acmeAccountID": "ABc_123xYZ456",
"accountStatus": "pending",
"eabMACKeyb64url": "ZyX321_abc654DeF1",
"eabMACIDb64url": "ghM4321abc_D8765xyZ"
},
{
"acmeAccountID": "654ZYx321_cBA",
"accountStatus": "valid",
"userAgent": "CertbotACMEClient/0.31.0 (certbot; Red Hat Enterprise Linux) Authenticator/netscaler:ns_authenticator Installer/netscaler:ns_installer (run; flags: frn n) Py/2.7.5",
"ipAddress": "10.0.1.64",
"lastActivity": "2019-03-14T14:37:42Z",
"eabMACKeyb64url": "1FeD456cba_123XyZ",
"eabMACIDb64url": "Zyx5678D_cba1234Mhg",
"contacts": [
{
"emailAddress": "[email protected]"
}
]
},
{
"acmeAccountID": "1WD-12345oiUTy9876YSA",
"accountStatus": "deactivated",
"ipAddress": "10.0.1.66",
"lastActivity": "2019-03-11T10:43:43Z",
"eabMACKeyb64url": "0n1234_hgfD45678gNQ",
"eabMACIDb64url": "YS8765-trEw4321WD",
"contacts": [
{
"emailAddress": "[email protected]"
}
]
}
]
}
{
"Accounts": []
}