---
title: "Deactivate"
method: DELETE
path: "/appointments/v1/{id}/{version}"
tags: ["v1"]
---

# Deactivate

`DELETE /appointments/v1/{id}/{version}`

Sets an appointment as deactivated.  The path must contain the most recent version to prevent race conditions.  Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.

## Path parameters

- `id` CommonAppointmentId, required — unresolved $ref
- `version` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `404` — Error response with status 404
- `409` — Error response with status 409

---

[API](https://skmtc.net/joincandidhealth/apis/api-reference.md) · [All operations](https://skmtc.net/joincandidhealth/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joincandidhealth/api-reference/revisions/7cc5974e4128/schema)
