diff --git a/app/controllers/api/v2/discovery_rules_controller.rb b/app/controllers/api/v2/discovery_rules_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/api/v2/discovery_rules_controller.rb
+++ b/app/controllers/api/v2/discovery_rules_controller.rb
@@ -36,7 +36,8 @@ module Api
           param :max_count, Integer, :desc => N_("enables to limit maximum amount of provisioned hosts per rule")
           param :priority, Integer, :desc => N_("puts the rules in order, low numbers go first. Must be greater then zero")
           param :enabled, :bool, :desc => N_("flag is used for temporary shutdown of rules")
-          param_group :taxonomies, ::Api::V2::BaseController
+          param :location_ids, Array, :required => true, :desc => N_("localtion ID for provisioned hosts") if SETTINGS[:locations_enabled]
+          param :organization_ids, Array, :required => true, :desc => N_("organization ID for provisioned hosts") if SETTINGS[:organizations_enabled]
         end
       end
Fixes #<I> - Correct Api doc for discovery rules