- create_ads_group - Create a group
- create_hris_group - Create a group
- create_scim_groups - Create group
- get_ads_group - Retrieve a group
- get_clubs_group - Retrieve a group
- get_hris_group - Retrieve a group
- get_scim_groups - Get group
- list_ads_groups - List all groups
- list_clubs_groups - List all groups
- list_hris_groups - List all groups
- list_scim_groups - List groups
- patch_ads_group - Update a group
- patch_hris_group - Update a group
- patch_scim_groups - Update group
- remove_ads_group - Remove a group
- remove_hris_group - Remove a group
- remove_scim_groups - Delete group
- update_ads_group - Update a group
- update_hris_group - Update a group
- update_scim_groups - Update group
Create a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.create_ads_group(request={
"ads_group": {},
"connection_id": "<id>",
})
assert res.ads_group is not None
# Handle response
print(res.ads_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateAdsGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateAdsGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Create a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.create_hris_group(request={
"hris_group": {},
"connection_id": "<id>",
})
assert res.hris_group is not None
# Handle response
print(res.hris_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateHrisGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateHrisGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Create group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.create_scim_groups(request={
"scim_group": {
"display_name": "Nina.Tremblay",
},
"connection_id": "<id>",
})
assert res.scim_group is not None
# Handle response
print(res.scim_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateScimGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateScimGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.get_ads_group(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.ads_group is not None
# Handle response
print(res.ads_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetAdsGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetAdsGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.get_clubs_group(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.clubs_group is not None
# Handle response
print(res.clubs_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetClubsGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetClubsGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.get_hris_group(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.hris_group is not None
# Handle response
print(res.hris_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetHrisGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetHrisGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Get group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.get_scim_groups(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.scim_group is not None
# Handle response
print(res.scim_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetScimGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetScimGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all groups
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.list_ads_groups(request={
"connection_id": "<id>",
})
assert res.ads_groups is not None
# Handle response
print(res.ads_groups)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListAdsGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListAdsGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all groups
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.list_clubs_groups(request={
"connection_id": "<id>",
})
assert res.clubs_groups is not None
# Handle response
print(res.clubs_groups)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListClubsGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListClubsGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all groups
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.list_hris_groups(request={
"connection_id": "<id>",
})
assert res.hris_groups is not None
# Handle response
print(res.hris_groups)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListHrisGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListHrisGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List groups
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.list_scim_groups(request={
"connection_id": "<id>",
})
assert res.scim_groups is not None
# Handle response
print(res.scim_groups)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListScimGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListScimGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.patch_ads_group(request={
"ads_group": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.ads_group is not None
# Handle response
print(res.ads_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchAdsGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchAdsGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.patch_hris_group(request={
"hris_group": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.hris_group is not None
# Handle response
print(res.hris_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchHrisGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchHrisGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.patch_scim_groups(request={
"scim_group": {
"display_name": "Newell.Hoeger",
},
"connection_id": "<id>",
"id": "<id>",
})
assert res.scim_group is not None
# Handle response
print(res.scim_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchScimGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchScimGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.remove_ads_group(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveAdsGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveAdsGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.remove_hris_group(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveHrisGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveHrisGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Delete group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.remove_scim_groups(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveScimGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveScimGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.update_ads_group(request={
"ads_group": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.ads_group is not None
# Handle response
print(res.ads_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateAdsGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateAdsGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.update_hris_group(request={
"hris_group": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.hris_group is not None
# Handle response
print(res.hris_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateHrisGroupRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateHrisGroupResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update group
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.group.update_scim_groups(request={
"scim_group": {
"display_name": "Reynold90",
},
"connection_id": "<id>",
"id": "<id>",
})
assert res.scim_group is not None
# Handle response
print(res.scim_group)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateScimGroupsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateScimGroupsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |