Creates a structure, such as a site or a group, within your organization. Set parent_structure_id to place the new structure beneath an existing one, or leave it empty to create a top-level structure. Field values supplied in fields are applied to the new structure.
Creates a structure within your organization and returns it. A structure is any node you assign people to, most often a site or a group, but also any structure type your organization has defined.
Set structure_type_id to the type the new structure should take. Set parent_structure_id to place it beneath an existing structure, or leave it empty to create a top-level structure. Only types that support hierarchy accept a parent.
Requirements
Field values are set by ID, so creating a structure with field values takes two calls. Resolve the IDs first with the List fields endpoint, filtering by the structure type they apply to, then pass them in fields. Each entry names a field by field_id and carries exactly one typed value matching that field's type.
A field that is marked required for the structure's type must be given a value in
fields. Creating a structure without it will fail.