# API: Cancel Queue task
# cancelQueueTask
Cancel pending queue task. Requires queue to be enabled in HostBill.
# Required parameters
Parameter | Description |
---|---|
id | Task ID to cancel |
# Optional parameters
Parameter | Description |
---|---|
token | Task token to cancel, instead of ID |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=cancelQueueTask&id=ID
# PHP Samples
# Response
{
"success": true,
"call": "cancelQueueTask",
"server_time": 1681830908,
"info": [
"Task canceled"
]
}