incident_io_client.api.utilities_v1.utilities_v1_identity
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[UtilitiesV1IdentityResponseBody]
Identity Utilities V1
Test if your API key is valid, and which roles it has.
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[UtilitiesV1IdentityResponseBody]
|
UtilitiesV1IdentityResponseBody |
Source code in incident_io_client/api/utilities_v1/utilities_v1_identity.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[UtilitiesV1IdentityResponseBody]
Identity Utilities V1
Test if your API key is valid, and which roles it has.
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[UtilitiesV1IdentityResponseBody]
|
Response[UtilitiesV1IdentityResponseBody] |
Source code in incident_io_client/api/utilities_v1/utilities_v1_identity.py
sync
Identity Utilities V1
Test if your API key is valid, and which roles it has.
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[UtilitiesV1IdentityResponseBody]
|
UtilitiesV1IdentityResponseBody |
Source code in incident_io_client/api/utilities_v1/utilities_v1_identity.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[UtilitiesV1IdentityResponseBody]
Identity Utilities V1
Test if your API key is valid, and which roles it has.
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[UtilitiesV1IdentityResponseBody]
|
Response[UtilitiesV1IdentityResponseBody] |