Actions163
- Accounting Distribution Actions
- Appointment Device Actions
- Appointment Request Actions
- Appointment Room Actions
- Calendar Appointment Actions
- Calendar Journey Actions
- Calendar Opening Hour Actions
- Call Actions
- Clinic Actions
- Communication Record Actions
- Communication Template Actions
- Consultation Actions
- Credit Note Actions
- Doctor Actions
- Document Template Actions
- Feature Actions
- Global Product Actions
- Invoice Actions
- Lead Actions
- Media Montage Actions
- Media Record Actions
- Medical History Actions
- Object Label Actions
- Patient Actions
- Payment Actions
- Payment Medium Actions
- Photo Compare Actions
- Prescription Actions
- Product Actions
- Quote Actions
- Sub Visit Type Actions
- Survey Form Actions
- Treatment Actions
- Treatment Package Actions
- Treatment Pricing Actions
- Treatment Type Actions
- User Actions
- Visit Actions
- Visit Type Actions
- Visit Type Category Actions
- Webhook Actions
Doctor → Delete
AI-generatedSummary
Delete a doctor by specifying the doctor ID, removing that doctor from the NextMotion system.
Inputs
- doctorId (required) — Specify the doctor to delete either by selecting from a searchable list (filtered by clinic) or by directly entering the doctor's unique ID.
- requestOptions — Optional settings to customize the request such as batching request parameters, allowing insecure SSL certificates, setting a proxy, and adjusting the request timeout in milliseconds.
Output shape
a JSON object representing the deleted doctor or a deletion confirmation response from NextMotion API
The output is the direct response from the API call to delete the specified doctor. It does not paginate or return lists. Errors will be returned if the doctor ID is invalid or the operation fails.
Examples
Example 1: Delete a doctor by selecting from the list.
Set 'Doctor' by choosing from the dropdown list filtered by clinic, then execute the operation to delete.
Example 2: Delete a doctor by specifying the ID explicitly.
Set 'Doctor' mode to 'By ID', enter the doctor's unique ID string, then execute to delete the doctor.