incident_io_client.api.escalations_v2.escalations_v2_destroy_path
asyncio_detailed
async
DestroyPath Escalations V2
Archives an escalation path.
We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
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/escalations_v2/escalations_v2_destroy_path.py
sync_detailed
DestroyPath Escalations V2
Archives an escalation path.
We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
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] |