object hostgroup.propagate(object parameters)
This method allows to apply permissions and tag filters to all hosts groups' subgroups.
This method is only available to Super admin user types. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object) Parameters defining the desired output.
The method supports the following parameters.
|object/array||Host groups to propagate.
The host groups must have the
At least one parameter
tag_filters is required.
(object) Returns an object containing the IDs of the propagated host groups under the
Propagate host group permissions and tag filters to its subgroups.
CHostGroup::propagate() in ui/include/classes/api/services/CHostGroup.php.