> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Items

# Type: WixDataBulkPatch

# Action: removeFromArray

# Link: https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-bulk-patch/remove-from-array.md

## Description: Refines a patch operation to remove the first instance of the specified value from the specified array or multi-reference field.

## Schema:

```json
 Method: removeFromArray(field, value)
 Description: Refines a patch operation to remove the first instance of the specified value from the specified array or multi-reference field.
 Method parameters:
   param name:  field | type: string | description:  Array or multi-reference field to remove the specified value from. Nested fields can be specified using dot notation. For example: `address.street`. 
   param name:  value | type: any | description:  Value whose first instance is removed from the specified array or multi-reference field. 
 Return type: REFERENCE<WixDataBulkPatch>
     Method: appendToArray(field, value)
     Description: Refines a patch operation to append the specified value to the specified array or multi-reference field.
     Method parameters:
       param name:  field | type: string | description:  Array or multi-reference field to append the specified value to. Nested fields can be specified using dot notation. For example: `address.street`. 
       param name:  value | type: any | description:  Value to append to the specified array or multi-reference field. 
     Return type: REFERENCE<WixDataBulkPatch>
     Method: incrementField(field, by)
     Description: Refines a patch operation to increment the specified field value by the specified parameter.
     Method parameters:
       param name:  field | type: string | description:  Field whose value is incremented. Nested fields can be specified using dot notation. For example: `address.street`. 
       param name:  by | type: number | description:  Value by which to increment the specified field. To decrement, specify a negative value. 
     Return type: REFERENCE<WixDataBulkPatch>
     Method: removeField(field)
     Description: Refines a patch operation to clear the specified field.
     Method parameters:
       param name:  field | type: string | description:  Field whose value is cleared. Nested fields can be specified using dot notation. For example: `address.street`. 
     Return type: REFERENCE<WixDataBulkPatch>
     Method: removeFromArray(field, value)
     Description: Refines a patch operation to remove the first instance of the specified value from the specified array or multi-reference field.
     Method parameters:
       param name:  field | type: string | description:  Array or multi-reference field to remove the specified value from. Nested fields can be specified using dot notation. For example: `address.street`. 
       param name:  value | type: any | description:  Value whose first instance is removed from the specified array or multi-reference field. 
     Return type: REFERENCE<WixDataBulkPatch>
     Method: run(options)
     Description: Runs the bulk patch operation and returns a Promise that resolves to information about the results.
     Method parameters:
       param name:  options | type: WixDataBulkPatchOptions | description:  none 
           - name: condition  | type: WixDataFilterInput | description:  If provided, only items matching condition will be patched. 
           - name: suppressHooks  | type: boolean | description:  Prevents hooks from running for the operation. Can only be used in the [backend code of a Wix site](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/backend-code/about-the-site-backend.md).  Default: `false`. 
     Return type: PROMISE<WixDataBulkResult>
           - name: errors  | type: Array<WixDataBulkError> | description:  List of errors. 
                 - name: code  | type: string | description:  Error code. 
                 - name: item  | type: undefined | description:  Failed item (or GUID in case of `bulkRemove()`). 
                 - name: message  | type: string | description:  Description of the error. 
                 - name: originalIndex  | type: number | description:  Index of the item within the request array. Allows for correlation between request and response items. 
           - name: inserted  | type: number | description:  Number of inserted items. 
           - name: insertedItemIds  | type: Array<string> | description:  List of GUIDs of inserted items. 
           - name: removed  | type: number | description:  Number of removed items. 
           - name: removedItemIds  | type: Array<string> | description:  List of GUIDs of removed items. 
           - name: skipped  | type: number | description:  Number of skipped items. 
           - name: updated  | type: number | description:  Number of updated items. 
           - name: updatedItemIds  | type: Array<string> | description:  List of GUIDs of updated items. 
     Method: setField(field, value)
     Description: Refines a patch operation to set the specified field to the specified value.
     Method parameters:
       param name:  field | type: string | description:  Field whose value is set. Nested fields can be specified using dot notation. For example: `address.street`. 
       param name:  value | type: any | description:  Value to set for the specified field. 
     Return type: REFERENCE<WixDataBulkPatch>

```