> For the complete documentation index, see [llms.txt](https://developers.incidents.cloud.solarwinds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.incidents.cloud.solarwinds.com/python-sdk/docs/sdks/exportschedule.md).

# ExportSchedule

## Overview

### Available Operations

* [refresh\_ical\_link](#refresh_ical_link) - Refresh Schedule ICal Link

## refresh\_ical\_link

Refresh Schedule ICal Link

### Example Usage

```python
from squadcast import SquadcastSDK


with SquadcastSDK(
    refresh_token_auth="<YOUR_REFRESH_TOKEN_AUTH_HERE>",
) as squadcast_sdk:

    res = squadcast_sdk.export_schedule.refresh_ical_link(schedule_id="<id>", my_on_call=True, request_body={})

    # Handle response
    print(res)

```

### Parameters

| Parameter      | Type                                                                                                                                                                    | Required             | Description                                                         |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------- |
| `schedule_id`  | *str*                                                                                                                                                                   | :heavy\_check\_mark: | N/A                                                                 |
| `my_on_call`   | *bool*                                                                                                                                                                  | :heavy\_check\_mark: | N/A                                                                 |
| `request_body` | [models.ExportRefreshScheduleIcalLinkRequestBody](https://developers.incidents.cloud.solarwinds.com/python-sdk/docs/models/exportrefreshscheduleicallinkrequestbody.md) | :heavy\_check\_mark: | N/A                                                                 |
| `retries`      | [Optional\[utils.RetryConfig\]](https://developers.incidents.cloud.solarwinds.com/python-sdk/docs/models/utils/retryconfig.md)                                          | :heavy\_minus\_sign: | Configuration to override the default retry behavior of the client. |

### Response

[**models.ExportRefreshScheduleIcalLinkResponse**](https://developers.incidents.cloud.solarwinds.com/python-sdk/docs/models/exportrefreshscheduleicallinkresponse.md)

### Errors

| Error Type             | Status Code                       | Content Type     |
| ---------------------- | --------------------------------- | ---------------- |
| errors.CommonV4Error   | 400, 401, 402, 403, 404, 409, 422 | application/json |
| errors.CommonV4Error   | 500, 502, 503, 504                | application/json |
| errors.SDKDefaultError | 4XX, 5XX                          | \*/\*            |
