Fix request parameter of deleteDevice