Description
This function lists the host domains for the account's Certificate Signing Requests (CSRs).
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
-
SSL::list_csrs
— This function lists an account's Certificate Signing Requests (CSR).
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
host |
string |
A domain for which a CSR exists. Note: If no CSRs exist, the function succeeds withouthost output.
|
A domain on the cPanel account. |
example.com |
reason |
string |
A reason for failure. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |