incident_io_client.api.alert_routes_v2.alert_routes_v2_destroy
asyncio_detailed
async
Destroy Alert Routes V2
Archives an alert route.
We recommend you create alert routes in the incident.io dashboard where we allow previewing filter and grouping rules.
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[Any]
|
Response[Any] |
Source code in incident_io_client/api/alert_routes_v2/alert_routes_v2_destroy.py
sync_detailed
Destroy Alert Routes V2
Archives an alert route.
We recommend you create alert routes in the incident.io dashboard where we allow previewing filter and grouping rules.
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[Any]
|
Response[Any] |