NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Treatment Type → Delete

AI-generated

Summary

Delete a specified treatment type by its ID within a clinic context using the NextMotion API.

Inputs

  • Treatment Type ID (required) — Select the treatment type to delete either from a searchable list (which depends on the clinic selection) or by specifying its UUID directly.
  • Request Options — Optional settings to control batching of requests, SSL certificate validation, HTTP proxy configuration, and request timeout.

Output shape

an object representing the deletion confirmation response from the API

The operation returns the API's response body confirming deletion. No pagination applies. Errors may be returned if the treatment type ID is invalid or deletion is not permitted.

Examples

Example 1: Deleting a treatment type by selecting from the list

Set the Treatment Type field's mode to 'From List' and select the desired treatment type from the dropdown after choosing the clinic.

Example 2: Deleting a treatment type by specifying its ID

Set the Treatment Type field's mode to 'By ID' and enter the treatment type's UUID directly.

Links

Discussion