How to remove job by id from Yii2 Queue

Hi, I am using Yii2 Queue Extension with Redis driver.
How can I cancel (remove from the queue) some job by its id? Not from the console.
It’s about pending jobs.

Either call yii2-queue/src/drivers/redis/Queue.php at master · yiisoft/yii2-queue · GitHub or copy the implementation.