core.medplumclient.delete | Medplum
MedplumClient.delete() method
Makes an HTTP DELETE request to the specified URL.
This is a lower level method for custom requests. For common operations, we recommend using higher level methods such as deleteResource().
Signature:
delete(url: URL | string, options?: MedplumRequestOptions): Promise<any>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| url | URL | string | The target URL. |
| options | MedplumRequestOptions | (Optional) Optional fetch options. |
Returns:
Promise
Promise to the response content.