Description
This function lists SSL-related items on a domain.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
domains |
string |
The domain name or names. |
A valid domain or pipe-separated list of domains. Note: To retrieve multiple domains, separate them with the pipe (|) character. |
example.com |
item |
string |
The SSL item type or types. This parameter defaults tokey. |
Note: To retrieve multiple types, separate them with the pipe (|) character. |
key |
Returns
Return |
Type |
Description |
Possible values |
Example |
id |
string |
The certificate's ID. |
A valid string. |
|
type |
string |
The type of SSL item. |
|
key |
host |
string |
The hostname. |
A valid hostname. |
example.com |