# POST /visits/delete URL: https://developers.vsee.io/api/visit-api/post/visits/delete operationId: deleteVisit Auth: Admin Token — Requires the Clinic Admin API Token from your dashboard (Developers → App → Edit App). Force cancel a visit Force cancel an existing visit. Requires admin token. Parameters: - X-ApiToken (header, string, required) — API token - X-AccountCode (header, string, required) — Account code - id (query, string, required) — The ID of the visit/appointment Responses: - 200 — Visit deleted successfully ```json { "data": {} } ``` - 401 — Unauthorized ```json { "error": "Unauthorized", "message": "Invalid or missing API token" } ```