---
title: "De-sync a Profile and Purge Its Events from Google Calendar"
method: POST
path: "/api/v1/calendar/unsync-profile"
tags: ["Google Calendar Sync"]
---

# De-sync a Profile and Purge Its Events from Google Calendar

`POST /api/v1/calendar/unsync-profile`

## Request

- Base URL: `https://api.erux.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.erux.ai/api/v1/calendar/unsync-profile`
- Auth: OAuth 2 (password, token URL `token`)

De-syncs a profile, permanently deleting its events from the user's Google Calendar
and removing it from the user's active auto-sync profile list.

## Request body

- UnsyncCalendarRequest
  - `profile_id` string, nullable: Target profile ID to de-sync
  - `profile_name` string, nullable: Target profile name to de-sync

## Response `200`

Successful Response

- object

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine.md) · [All operations](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/revisions/9dc718df71b0?raw)
