> For the complete documentation index, see [llms.txt](https://support.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://support.incidents.cloud.solarwinds.com/terraform-and-api-documentation/getting-started-with-squadcast-graphql/create-refresh-delete-icalurl.md).

# Calendar URLs

### **Create iCal URL**

```
mutation{
  createICalURL(scheduleID:9054,myOncallOnly:false)
}
```

**Response:**

```
{
  "data": {
    "createICalURL": "https://api.squadcast.com/v3/schedules/export/124fd6f5-2c26-435f-b3ef-20daaa5e433d"
  }
}
```

### **Update iCal URL**

```
mutation{
  refreshICalURL(scheduleID:9054,myOncallOnly:false)
}
```

**Response:**

```
{
  "data": {
    "refreshICalURL": "https://api.squadcast.com/v3/schedules/export/f4c3ff42-4417-4d46-b1f7-85e2b15eb93a"
  }
}
```

### **Delete iCal URL**

```
mutation{
  deleteICalURL(scheduleID:9054,myOncallOnly:false)
}
```

**Response:**

```
{
  "data": {
    "refreshICalURL": "https://api.squadcast.com/v3/schedules/export/f4c3ff42-4417-4d46-b1f7-85e2b15eb93a"
  }
}
```
