## remove() function

The "remove" operation removes the value at the target location. The target location MUST exist for the operation to be successful.

**Signature:**

```typescript
export declare function remove(object: any, operation: RemoveOperation, _options?: PatchOptions): MissingError | null;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| object | any | The object being patched. |
| operation | [RemoveOperation](/content/docs/sdk/core.removeoperation) | The operation to perform on the object. |
| _options | [PatchOptions](/content/docs/sdk/core.patchoptions) | _(Optional)_ Optional params. |

**Returns:**

[MissingError](/content/docs/sdk/core.missingerror) | null

null on success, or error if one occurred.

- [remove() function](/content/docs/sdk/core.remove#remove-function/index.html)
- [Parameters](/content/docs/sdk/core.remove#parameters/index.html)
