This function removes an API token from a cPanel account.
The API token to remove.
HTTP Request was successful.
The version of the API.
The name of the method called.
The name of the module called.
uapi --output=jsonpretty \ --user=username \ Tokens \ revoke \ name='example'
{"apiversion": 3,"func": "revoke","module": "Tokens","result": {"data": 1,"errors": null,"messages": null,"metadata": { },"status": 1,"warnings": null}}