---
title: "Cancel Module Instance"
method: POST
path: "/modules/instances/{instance_id}/cancel"
---

# Cancel Module Instance

`POST /modules/instances/{instance_id}/cancel`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/modules/instances/{instance_id}/cancel`
- Auth: none declared

Cancel ONE World-Sim at the end of its paid period (§ 312k: no further charge, usable until
then). Owner-only (a signed-in human, never a library or machine token acting for one); goes
through the same Stripe call, receipt mail and event as `POST /billing/subscriptions/cancel`.
Idempotent: a second call answers `already_scheduled`. Refuses (409) when the instance's
subscription can't be resolved exactly, pointing at /cancel.

## Path parameters

- `instance_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
