incident_io_client.api.schedules_v2.schedules_v2_destroy
asyncio_detailed
async
Destroy Schedules V2
Archives a single schedule.
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/schedules_v2/schedules_v2_destroy.py
sync_detailed
Destroy Schedules V2
Archives a single schedule.
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] |