Visit API

post /visits/delete

Force cancel a visit

Base URL https://api.vseepreview.com/api_v3 · operationId deleteVisit

Authentication: Admin Token — Requires the Clinic Admin API Token from your dashboard (Developers → App → Edit App).

Force cancel an existing visit. Requires admin token.

Parameters

NameInTypeRequiredEnumDefaultDescription
X-ApiTokenheaderstringyesAPI token (e.g. your_api_token)
X-AccountCodeheaderstringyesAccount code (e.g. vclinic)
idquerystringyesThe ID of the visit/appointment (e.g. 5010007042332)

Responses

200 — Visit deleted successfully

Visit deleted — Successfully deleted visit

{
  "data": {}
}

401 — Unauthorized

{
  "error": "Unauthorized",
  "message": "Invalid or missing API token"
}

Machine-readable: OpenAPI JSON (operationId: deleteVisit)