code: public function delete ($id)
  	{
  		$redirect = RedirectRecord::findOne(compact('id'))->delete();
  
  		if ($redirect === false)
  			return 'Unable find redirect with ID: ' . $id;
  
  		return false;
  	}
docs: Deletes the redirect with the given ID
  
  @param int $id
  
  @return bool|string
  @throws \Exception
  @throws \Throwable
  @throws \yii\db\StaleObjectException