Make a body float/levitate?

I have a body and it gets pulled by gravity downwards.
The body is dynamic.

How would I make it so the body never touches the ground?
IE: It floats/levitates in the air.

So for example, I have a circle body.
I want this body to oscillate up and down as if it has the effect that it is levitating.

It needs to stay in the same position though, but it needs to actually float so when you look at it,
you can tell that it's moving up and down/levitating.

Any ideas?
You might find this page useful: http://www.iforce2d.net/b2dtut/suspension
In that example the target height is fixed so that it will stop moving after a while, but you could change the target height over time (sine function etc) to keep it moving.

Original thread: https://box2d.org/forum/viewtopic.php?t=8073