incident_io_client.api.users_v2.users_v2_show
asyncio
async
asyncio(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Optional[UsersV2ShowResponseBody]
Show Users V2
Get a single user.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[UsersV2ShowResponseBody]
|
UsersV2ShowResponseBody |
Source code in incident_io_client/api/users_v2/users_v2_show.py
asyncio_detailed
async
asyncio_detailed(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Response[UsersV2ShowResponseBody]
Show Users V2
Get a single user.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[UsersV2ShowResponseBody]
|
Response[UsersV2ShowResponseBody] |
Source code in incident_io_client/api/users_v2/users_v2_show.py
sync
Show Users V2
Get a single user.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[UsersV2ShowResponseBody]
|
UsersV2ShowResponseBody |
Source code in incident_io_client/api/users_v2/users_v2_show.py
sync_detailed
sync_detailed(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Response[UsersV2ShowResponseBody]
Show Users V2
Get a single user.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[UsersV2ShowResponseBody]
|
Response[UsersV2ShowResponseBody] |