Download OpenAPI specification:
Integrate Glance into your customer service workflows with secure, flexible APIs.
This suite of endpoints provides comprehensive administrative control over your account's organizational structure, specifically managing the creation, modification, and disassociation of subgroups.
Returns list of subgroups of current group.
Required Permissions:
| group_id required | integer The group ID (Must be a positive unsigned integer) |
[- {
- "name": "West Region",
- "id": 19580,
- "relationship": "MEMBER",
- "type": "ENTERPRISE CUSTOMER"
}, - {
- "name": "East Region",
- "id": 19581,
- "relationship": "CUSTOMER",
- "type": "ENTERPRISE CUSTOMER"
}
]Create a subgroup within the authenticated group. A subgroup represents a child organization that inherits the parent group's feature configuration and can be managed independently. The authenticated group must be a top-level group. Nested subgroups are not supported.
| group_id required | integer The group ID (Must be a positive unsigned integer) |
| name required | string <= 100 characters Display name for the subgroup (stored as group_name). Spaces and mixed case are allowed; maximum 100 characters. |
| apiKey | string <= 255 characters Optional API key for the new subgroup. When omitted or empty, the server generates a unique 16-character alphanumeric key. |
| relationship required | string The relationship type to the parent group (case-insensitive). One of: CUSTOMER, MEMBER. |
| defaultBaseAddress | string Optional default Glance address prefix for the new subgroup. When omitted or whitespace-only, default_base_address is not set on the new group row; the server may still derive a hostname from the display name for uniqueness checks only (same as before this field existed). |
{- "name": "West Region",
- "apiKey": "string",
- "relationship": "MEMBER",
- "defaultBaseAddress": "string"
}{- "subgroupId": 12345,
- "subgroupName": "Acme Corp",
- "baseAddress": ".acme.glance.net",
- "defaultBillingId": 11111
}Update the details of a subgroup.
| group_id required | integer The parent group ID (Must be a positive unsigned integer) |
| subgroup_id required | integer The child subgroup ID to update (Must be a positive unsigned integer) |
| name | string <= 100 characters New display name for the subgroup (optional). Spaces allowed; maximum 100 characters after trim. |
| relationship | string New relationship type to the parent group (case-insensitive). One of: 'CUSTOMER', 'MEMBER' (optional) |
| defaultBaseAddress | string New default Glance address prefix for the subgroup (optional). Omitted or null leaves the current value unchanged. |
{- "name": "Updated Subgroup Name",
- "relationship": "CUSTOMER",
- "defaultBaseAddress": "west-region.glance.net"
}{- "success": true,
- "message": "Subgroup updated successfully"
}Disassociate a subgroup from it's parent group, turning the disassociated subgroup to a top-level group. The parent group ID provided in group_id must be a top level group, and the direct parent of the subgroup ID provided in subgroup_id.
Required Permissions:
| group_id required | integer The parent group ID (Must be a positive unsigned integer) |
| subgroup_id required | integer The child subgroup ID (Must be a positive unsigned integer) |
{- "success": true,
- "message": "Subgroup disconnected successfully"
}