cPanel UAPI / GPG
cPanel UAPI list_secret_keys
Find the endpoint, CLI syntax and practical purpose of this cPanel command, with a direct link to the official documentation.
What this command does
The cPanel documentation summary for this operation is: Return current user's GnuPG secret keys.
In Hostilla.pl this page helps identify the exact API operation before using automation, reseller integrations or a support request.
Command details
- API
- cPanel UAPI 11.136.0.25
- Category
- GPG
- Method and path
- GET /GPG/list_secret_keys
- Operation ID
- list_secret_keys
- CLI example
- uapi --user=USER GPG list_secret_keys
Practical request workflow
cPanel UAPI list_secret_keys should be run only after the target account and expected result are known. Start with a read-only lookup when one is available, then make the smallest required change and verify the resource again.
- Identify the owning cPanel account and the exact resource.
- Read the current state before executing a write operation.
- Run list_secret_keys with the minimum required permissions and parameters.
- Verify the returned metadata and perform an independent post-change check.
CLI request example
uapi --user=USER GPG list_secret_keysHow to read the response
Check the API success flag, messages, warnings and returned data object. Confirm that identifiers refer to the intended account, then perform a separate read or service-level test.
Record the request time, account and domain together with the returned status. A successful transport response does not by itself prove that the requested resource was created, changed or deleted exactly as intended.
Questions before automation
What permission does cPanel UAPI list_secret_keys require?
Use the target cPanel account context or a least-privilege token allowed to perform this function.
What should I check before running list_secret_keys?
Identify the owning cPanel account and the exact resource. Read the current state before executing a write operation.
How do I confirm that list_secret_keys worked?
Check the API success flag, messages, warnings and returned data object. Confirm that identifiers refer to the intended account, then perform a separate read or service-level test.
Hostilla.pl usage notes
UAPI commands normally act inside a single cPanel account. Use the least-privilege token or the account context required for the task.
Need this operation for your hosting account? Contact Hostilla.pl support with the account name, domain and expected result. We will help select a safe API path.
