Organization Groups
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/organization-groups/ |
List Organization Groups |
| GET | /api/organization-groups/{uuid}/ |
Retrieve |
| POST | /api/organization-groups/ |
Create |
| PUT | /api/organization-groups/{uuid}/ |
Update |
| PATCH | /api/organization-groups/{uuid}/ |
Partial Update |
| DELETE | /api/organization-groups/{uuid}/ |
Delete |
List Organization Groups
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
organization_groups_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
name |
string | Name |
name_exact |
string | Name (exact) |
o |
string | Which field to use when ordering the results. |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
parent |
string (uuid) | Parent UUID |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
name |
string | |
parent_uuid |
string (uuid) | UUID of the parent organization group |
parent_name |
string | Name of the parent organization group |
parent |
string (uri) | |
customers_count |
integer | Number of customers in this organization group |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
organization_groups_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
name |
string | |
parent_uuid |
string (uuid) | UUID of the parent organization group |
parent_name |
string | Name of the parent organization group |
parent |
string (uri) | |
customers_count |
integer | Number of customers in this organization group |
Create
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
- Model Source:
OrganizationGroupRequest - API Source:
organization_groups_create
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Field | Type | Required |
|---|---|---|
name |
string | ✓ |
parent |
string (uri) |
201 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
name |
string | |
parent_uuid |
string (uuid) | UUID of the parent organization group |
parent_name |
string | Name of the parent organization group |
parent |
string (uri) | |
customers_count |
integer | Number of customers in this organization group |
Update
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
OrganizationGroupRequest - API Source:
organization_groups_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
name |
string | ✓ |
parent |
string (uri) |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
name |
string | |
parent_uuid |
string (uuid) | UUID of the parent organization group |
parent_name |
string | Name of the parent organization group |
parent |
string (uri) | |
customers_count |
integer | Number of customers in this organization group |
Partial Update
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedOrganizationGroupRequest - API Source:
organization_groups_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
name |
string | |
parent |
string (uri) |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
name |
string | |
parent_uuid |
string (uuid) | UUID of the parent organization group |
parent_name |
string | Name of the parent organization group |
parent |
string (uri) | |
customers_count |
integer | Number of customers in this organization group |
Delete
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
organization_groups_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body