latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Support Tickets
Support Access

Delete Support SSH key

This function removes a cPanel Customer Portal SSH key from the server.

Note:

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

get/ticket_revoke

Query parameters

server_numinteger required
Example:1

The server's ID number.

ssh_usernamestring required
Example:username

The username for incoming SSH connections before they escalate to the root user.

ticket_idinteger required
Example:999999999

The support ticket's ID number.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "chain_status": "ACTIVE",
    "csf_wl_status": "ACTIVE",
    "host_access_wl_status": "ACTIVE",
    "hulk_wl_status": "ACTIVE",
    "non_fatals": [],
    "revoked_keys": 1,
    "server_num": 2,
    "ssh_username": "username",
    "ticket_id": 999999999
  },
  "metadata": {
    "command": "ticket_revoke",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}