Skip to Content
ReferenceAPIPatientsDelete a patient

Patients API

Delete a patient

Delete a patient from the current workspace.

DELETE/v1/patients/{patientId}
capability patients.delete · v1health dataserver-scoped workspace

Request

Path, query, and JSON body fields accepted by this operation.

  • patientIdstring<uuid>required
    path

Response

Successful responses use Dawn's data envelope.

  • dataPatientrequired
    • idstring<uuid>required
    • workspaceIdstring<uuid>required
    • firstNamestringrequired
      min length 1max length 80
    • lastNamestringrequired
      min length 1max length 80
    • emailstring<email> | nullrequired
    • phonestring | nullrequired
      min length 5max length 40
    • dateOfBirthstring<date> | nullrequired
    • status"active" | "inactive" | "archived"required
    • notesstring | nullrequired
      max length 50000
    • createdAtstring<date-time>required
    • updatedAtstring<date-time>required
  • metaobject

Errors

Error responses use the shared error envelope.

  • 404The patient could not be found.
  • 409The patient has appointments and must be archived instead.
  • 422The patient ID is invalid.
  • 503The patient could not be deleted.
Last updated on