How to render nothing in API response?

How do I render nothing and just return the HTTP response code (similar to head in Rails)? I have tried render body: nil and render nothing: true, however, the controller still tries to render a template, resulting in a MissingTemplate error