---
title: "Cancel the membership of a guest"
method: PUT
path: "/v1/guests/{guest_id}/memberships/{user_membership_id}/cancel"
---

# Cancel the membership of a guest

`PUT /v1/guests/{guest_id}/memberships/{user_membership_id}/cancel`

This API helps you to cancel the membership of a guest.

You must specify appropriate details for the `guest_id` and `membership_id` parameters in the API request.

Optionally, you can specify the necessary details for the `cancellation_date` and `termination_date` parameters in the API request body.

## Path parameters

- `guest_id` string, required
- `membership_id` string, required

## Request body

- object
  - `cancellation_date` string, date — Denotes the date when the membership was cancelled.
  - `termination_date` string, date — Denotes the date when the membership was terminated.

## Response `200`

200

- object
  - `error` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/revisions/e628f892391a/schema)
