incident_io_client.api.users_v2.users_v2_list
asyncio
async
asyncio(
*,
client: Union[AuthenticatedClient, Client],
email: Union[Unset, str] = UNSET,
slack_user_id: Union[Unset, str] = UNSET,
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Optional[UsersV2ListResponseBody]
List Users V2
List users for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
email |
Union[Unset, str]
|
|
UNSET
|
slack_user_id |
Union[Unset, str]
|
|
UNSET
|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Optional[UsersV2ListResponseBody]
|
UsersV2ListResponseBody |
Source code in incident_io_client/api/users_v2/users_v2_list.py
asyncio_detailed
async
asyncio_detailed(
*,
client: Union[AuthenticatedClient, Client],
email: Union[Unset, str] = UNSET,
slack_user_id: Union[Unset, str] = UNSET,
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Response[UsersV2ListResponseBody]
List Users V2
List users for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
email |
Union[Unset, str]
|
|
UNSET
|
slack_user_id |
Union[Unset, str]
|
|
UNSET
|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Response[UsersV2ListResponseBody]
|
Response[UsersV2ListResponseBody] |
Source code in incident_io_client/api/users_v2/users_v2_list.py
sync
sync(
*,
client: Union[AuthenticatedClient, Client],
email: Union[Unset, str] = UNSET,
slack_user_id: Union[Unset, str] = UNSET,
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Optional[UsersV2ListResponseBody]
List Users V2
List users for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
email |
Union[Unset, str]
|
|
UNSET
|
slack_user_id |
Union[Unset, str]
|
|
UNSET
|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Optional[UsersV2ListResponseBody]
|
UsersV2ListResponseBody |
Source code in incident_io_client/api/users_v2/users_v2_list.py
sync_detailed
sync_detailed(
*,
client: Union[AuthenticatedClient, Client],
email: Union[Unset, str] = UNSET,
slack_user_id: Union[Unset, str] = UNSET,
page_size: Union[Unset, int] = 25,
after: Union[Unset, str] = UNSET
) -> Response[UsersV2ListResponseBody]
List Users V2
List users for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
email |
Union[Unset, str]
|
|
UNSET
|
slack_user_id |
Union[Unset, str]
|
|
UNSET
|
page_size |
Union[Unset, int]
|
Default: 25. |
25
|
after |
Union[Unset, str]
|
|
UNSET
|
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Response[UsersV2ListResponseBody]
|
Response[UsersV2ListResponseBody] |