---
title: "Update imported calendar"
method: PUT
path: "/icalendar-api/imported-calendars/{importedCalendarId}"
tags: ["Calendar Sync (iCal import)"]
---

# Update imported calendar

`PUT /icalendar-api/imported-calendars/{importedCalendarId}`

If any adjustments are made to the values, the import sync process will be automatically triggered. 
      You can use this request to update the URL, name, or events adjustment of a specific imported calendar ID. 
      To pause or resume the import process, navigate to "Pause/Resume Imported-Calendar Sync." 
      Please note that you can only update the allowed properties that are listed below.

## Path parameters

- `importedCalendarId` string, required

## Request body

- object
  - `name` string, required
  - `adjustmentValueStart` -2 | -1 | 0 | 1 | 2, required
  - `adjustmentValueEnd` -2 | -1 | 0 | 1 | 2, required

## Response `200`

Returns updated state of imported calendar

- object
  - `id` string, required — Id of an imported calendar
  - `listingId` string, required — Related listing id
  - `accountId` string, required — Related account id
  - `createdAt` string, required — Time of creation of an imported calendar
  - `updatedAt` string, required — Time of last update of an imported calendar properties
  - `status` 'active' | 'paused' | 'warning' | 'suspended', required — Status of an imported calendar
  - `url` string, required — URL of an imported calendar
  - `name` string, required — Name of an imported calendar
  - `lastSyncedAt` string — Timestamp of last successful sync of an imported calendar
  - `adjustmentValueStart` number, required — Defines offset for start date of imported calendar events
  - `adjustmentValueEnd` number, required — Defines offset for end date of imported calendar events

## Other responses

- `404` — Listing not found

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
