How to render nothing in json?

Returning HTTP 204 No Content would make more sense if you don't want to return anything.

render :nothing => true, :status => 204

Or better just:

head :no_content

If you really want to not render anything:

head :ok # or any another status, e.g. :created, :accepted, etc

as a parameter, you can add a status code or symbolic status (statuses or just in console Rack::Utils::SYMBOL_TO_STATUS_CODE)

If you want to send a JSON message as response:

render json: { message: "removed" }, status: :ok