Stop a Worker
POST
/v1/instances/{instance_id}/workers/{worker_id}/stop
Parameters
Parameter | Type | In | Description |
---|---|---|---|
instance_id | string | uri | The instance ID |
worker_id | string | uri | The woker ID |
Response
200 OK
{
"id": 838,
"name": "Laravel queue",
"command": "php artisan queue:work --sleep=3 --tries=3 -vvv",
"stop_wait_seconds": 10,
"auto_restart": 1,
"start_retries": 3,
"worker_processes": 1,
"created_at": "2021-06-27 03:32:48",
"status": "Stopping",
"log_file_path": "\/backups\/logs\/1adb3c27-9a23-48c3-83f1-05ec9754c479-worker.log"
}