v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
Patients

Remove a contact from a patient. The primary owner cannot be removed — transfer ownership first.

delete/Patients/{id}/contacts/{contactId}

Path parameters

idstring required
contactIdstring required

Response

OK

idstring
patientIdstring
clientIdstring
relationshipTypeinteger

Describes who a contact (Client) is in relation to a specific patient. One contact per patient is the PrimaryOwner; all others are additional relationships (co-owners, agents, emergency contacts, etc.). Stored as text on patient_contacts.relationship_type.

isPrimaryboolean
permissionsstring[]

The set permission flags by name (e.g. "ApproveTreatment"). Exposed as a list rather than the raw ContactPermissions bitmask so clients can check individual permissions without bit math.

verificationMethodinteger

How a patient contact's identity was verified by clinic staff. Stored as text on patient_contacts.verification_method.

verifiedByUserIdstring nullable
verifiedAtstring date-time nullable
verificationNotesstring nullable
createdAtstring date-time
updatedAtstring date-time