@Elix,
It depends is my viewpoint.
Endangered animals of any kind - no it is not ok to hunt.
I am guessing though you are going to hunt for an animal that is legal - during a legal hunting season. If so, I am not against it.
Personally it would be difficult for me to hunt an animal. I know I do eat meat, but I would find it hard to shoot a beautiful living animal (I mean I stop for squirrels and chipmunks in the road).
I can understand it though especially if you use the meat (either yourself or give it someone) - otherwise I find it wasteful and wrong. There are good reasons for hunting besides food - someone else mentioned about overpopulation and provided the details of why overpopulation is bad for the environment.
Unfortunately with our human intervention - some populations of animals have thrived and others have not resulting in almost the need the need for hunting - with less predators some species are so overpopulated that they hurt our environment. As long as it is done in such a way that is safe, helps the environment and sustains people through food, I see nothing wrong with it.