Custom Drug Management Endpoints
Delete custom drug
Deletes a user-level custom drug.
DELETE
cURL
Deletes a user-level custom drug.Documentation Index
Fetch the complete documentation index at: https://docs.parchmenthealth.io/llms.txt
Use this file to discover all available pages before exploring further.
Integration Notes
- Scope Requirement: Your API token must include the
delete:custom_drugscope. - Target:
drug_idis thecustom_drug_idreturned by the list/create endpoints. Deletes the drug stored againstUSER#{user_id}. - Idempotent: Deleting a drug that does not exist still returns
200. - Scope of effect: Only user-level drugs are removed here. To clear the organization catalog use the bulk delete endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization secret for authentication - provided by Parchment
Path Parameters
Organization ID
User ID
Custom drug ID (custom_drug_id from the list endpoint)
Response
Custom drug deleted successfully
Indicates if the request was successful
Example:
true
HTTP status code
Example:
200
Human-readable success message
Example:
"Success"
Response payload data
ISO 8601 timestamp of the response
Example:
"2024-01-15T10:30:00.000Z"
Unique identifier for request tracing
Example:
"req_1705312200000_abc123"
Pagination information for list operations
cURL

