Skip to main content
Use this endpoint to permanently remove a patient record. The operation is irreversible — once deleted, the patient and their associated data cannot be recovered through the API. Returns 204 No Content on success with no response body.

Request

DELETE https://api.clinikapi.com/v1/patients/{id}

Headers

x-api-key
string
required
Your ClinikAPI secret key (clk_live_* or clk_test_*).

Path Parameters

id
string
required
The ID of the patient to delete (e.g. pt_abc123).

Response

Returns 204 No Content with an empty body on success. If the patient does not exist or does not belong to your tenant, the API returns 404 Not Found.

Examples

curl

curl -X DELETE https://api.clinikapi.com/v1/patients/pt_abc123 \
  -H "x-api-key: clk_live_abc123"

TypeScript SDK

import { ClinikAPI } from "@clinikapi/sdk";

const client = new ClinikAPI({ apiKey: "clk_live_abc123" });

await client.patients.delete("pt_abc123");
// Resolves with no value on success (204)