Yes, dogs can, in fact, eat the skin of the cucumber.
Like all fruit and vegetables, the skin actually contains most of the nutrients and vitamins.
So you can feed the sin to your dog.
However, you should feed him thin slices so he can digest the skin.