Coconut oil in moderation is not harmful and actually beneficial for their coat and skin. However a bowful may be a bit much.
Watch him closely and make sure he is drinking normally. His stools may be loose for a while after, but he should be okay.
If he suddenly looks or acts ill/different than normal, take him to the vet immediately.