## 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:**

```typescript
delete(url: URL | string, options?: MedplumRequestOptions): Promise<any>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| url | URL \| string | The target URL. |
| options | [MedplumRequestOptions](/content/docs/sdk/core.medplumrequestoptions) | _(Optional)_ Optional fetch options. |

**Returns:**

Promise<any>

Promise to the response content.
