Service: zimbraAdmin

Command: HABOrgUnit
Namespace: urn:zimbraAdmin
Description: Create/Rename/Delete Hab Organizational Unit
Properties:
Authorization token required true
Admin Authorization token required true

HABOrgUnitRequest

    <HABOrgUnitRequest [name="{name}"] op="{op} (create | rename | delete | list)" [newName="{newName}"]
                          [forceDelete="{forceDelete} (0|1)"]> ## HABOrgUnitRequest
        <domain [by="{domain-selector-by} (id | name | virtualHostname | krb5Realm | foreignName)"]>{key}</domain> ## DomainSelector
    </HABOrgUnitRequest>

elements and attributes you can define within a <HABOrgUnitRequest> element:

XPath Required / Optional Description
@name Optional (0 or 1) Type: String
HAB org unit name
@op Required (only 1) Type: create | rename | delete | list
operation
@newName Optional (0 or 1) Type: String
new HAB org unit name
@forceDelete Optional (0 or 1) Type: 0|1
indicates whether a HAB org unit should be deleted when it has groups.
/domain Required (only 1) Type: {key}
Specifies the domain under which Hab org unit is created
Description for element text content:The key used to identify the domain. Meaning determined by {domain-selector-by}
/domain@by Optional (0 or 1) Type: id | name | virtualHostname | krb5Realm | foreignName
Select the meaning of {domain-selector-key}

HABOrgUnitResponse

    <HABOrgUnitResponse> ## HABOrgUnitResponse
        (<habOrgUnitName>{habOrgList} (String)</habOrgUnitName>)*
    </HABOrgUnitResponse>

elements and attributes you can define within a <HABOrgUnitResponse> element:

XPath Required / Optional Description
/habOrgUnitName Optional (0 or more) Type: {habOrgList} (String)
List of HabOrg units under a domain