because correct index_layout is only :index actions
https://github.com/theforeman/foreman/blob/develop/app/controllers/api/v2/base_controller.rb#L12

just pass on render action
```ruby 
:layout => 'api/v2/layouts/index_layout'
```