Delete Support SSH key and closed tickets

This function removes cPanel Support's SSH keys and removes closed support tickets. You can view closed support tickets in WHM's Grant cPanel Support Access interface (WHM >> Home >> Support >> Grant cPanel Support Access).

Note:

This function is not available through the command line. You must call it as a request body.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/ticket_remove_closed
Request samples
https://hostname.example.com:2087/cpsess##########/json-api/ticket_remove_closed?api.version=1
Response samples
application/json
{
  • "data": {
    • "chain_status": "ACTIVE",
    • "csf_wl_status": "ACTIVE",
    • "host_access_wl_status": "INACTIVE",
    • "hulk_wl_status": "ACTIVE",
    • "non_fatals": [ ],
    • "revoked_keys": 9
    },
  • "metadata": {
    • "command": "ticket_remove_closed",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}