Previous Topic: ExampleNext Topic: Example 1


removeSubdomains—Remove Domain Groups from Domain Groups

This action removes Client Automation domain groups as Client Automation domain groups from the specified Client Automation domain group.

This action has the following format:

domain action=removeSubdomains [name=domain_name}]
{domain=domain_name}
name

Specifies the name of a Client Automation domain group which must exist and from which the Client Automation domain subgroups will be removed.

If not coded the Client Automation domain subgroups are removed from the top level folder "Domains".

domain

Specifies the name of a Client Automation domain group which must exist and which will be removed as a Client Automation domain subgroup from the Client Automation domain group specified in the "name" parameter.

The parameter can be coded more than once to remove a list of Client Automation domain subgroups.

Note: A remove does not necessarily mean that the Client Automation domain subgroup to be removed will be deleted. It will only be removed from a list of Client Automation domain subgroups associated to the specified Client Automation domain supergroup.

If a Client Automation domain subgroup "A" is removed from a Client Automation domain group "B" and if "B" is the only supergroup containing "A", then the remove will fail. "B" can only be deleted.