Adapa/Adamu was neither considered king nor god but a man with great intelligence and wisdom but not with immortality.
The myth about Adapa is as follows – he was was out fishing one night for the temple and after having no luck, a storm caused by the South Wind sunk his boat. In a fit of rage he manages to break the wing of the South Wind. For his actions, that were not suited to a holy man he was called to heaven to appear before Anu, the sky god. Before he departed he was tricked and ill advised by a jealous Ea (the god of wisdom) who cautioned him not to touch the bread and water that would be offered which he did thus ensuring mankind remained mortal.
For more on this visit Adapa