---
title: "Asset Group Search Criteria"
method: PUT
path: "/api/3/asset_groups/{id}/search_criteria"
tags: ["Asset Group"]
---

# Asset Group Search Criteria

`PUT /api/3/asset_groups/{id}/search_criteria`

Updates the search criteria of a dynamic asset group. For a reference of valid search criteria input see the <a href="#operation/getAssetsSearchUsingPOST">Asset Search</a> resource.

## Path parameters

- `id` integer, required — The identifier of the asset group.

## Request body

- SearchCriteria — The search criteria specification.
  - `filters` SwaggerSearchCriteriaFilter[] — Filters used to match assets. See <a href="#section/Responses/SearchCriteria">Search Criteria</a> for more information on the structure and format.
    - `field` string — The filter field for the search criteria.
    - `lower` object — The lower value to match in a range criteria.
    - `operator` string — The operator on how to match the search criteria.
    - `upper` object — The upper value to match in a range criteria.
    - `value` object — The single value to match using the operator.
    - `values` object[] — An array of values to match using the operator.
  - `match` 'any' | 'all' — Operator to determine how to match filters. `all` requires that all filters match for an asset to be included. `any` requires only one filter to match for an asset to be included.

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/rapid7/apis/rapid7-vm-api.md) · [All operations](https://skmtc.net/rapid7/apis/rapid7-vm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapid7/rapid7-vm-api/versions/3a8197c22d71/schema)
