## MedplumClient.patch() method [​](/content/docs/sdk/core.medplumclient.patch#medplumclientpatch-method "Direct link to MedplumClient.patch(/index.html) method")

Makes an HTTP PATCH 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 `patchResource()`.

**Signature:**

```typescript
patch(url: URL | string, operations: PatchOperation[], options?: MedplumRequestOptions): Promise<any>;
```

## Parameters [​](/content/docs/sdk/core.medplumclient.patch#parameters "Direct link to Parameters"/index.html)

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

**Returns:**

Promise<any>

Promise to the response content.

- [MedplumClient.patch() method](/content/docs/sdk/core.medplumclient.patch#medplumclientpatch-method/index.html)
- [Parameters](/content/docs/sdk/core.medplumclient.patch#parameters/index.html)
