---
title: "Archive or unarchive filtered assets"
method: POST
path: "/asset/hidefilter"
tags: ["Assets Bulk Operations"]
---

# Archive or unarchive filtered assets

`POST /asset/hidefilter`

## Request

- Base URL: `https://asm.cloud.tenable.com/api/1.0`
- URL: `https://asm.cloud.tenable.com/api/1.0/asset/hidefilter`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/tenable/apis/attack-surface-management/docs/asset/hidefilter/post.ts> (a function with typed inputs; its response is checked against the schema)

Archives or unarchives all assets matching the specified filter. If `hidden:true` is specified as a filter, the assets will be unarchived.

## Request body

- FilterItem[]: Filters to be applied on assets, consists of FilterItem objects.
  - `column` string: The property to filter on. You can use the [List Asset Properties](ref:getavailablecolumns) endpoint to get a list of possible values.
  - `type` string: The type of filter to apply. Refer to [Robust Filtering](https://docs.tenable.com/attack-surface-management/Content/Topics/Inventory/AssetFilters.htm#Robust_Filtering) for a list of possible filter types.
  - `value` string: The value to filter on. For date-time values, please use the ISO format. For example: "2024-10-21T10:00:00.000Z".

## Response `200`

OK

- object
  - `status` string

## Other responses

- `401`: Unauthorized
- `404`: The specified resource was not found
- `500`: Internal server error

---

[API](https://skmtc.dev/tenable/apis/attack-surface-management.md) - [All operations](https://skmtc.dev/tenable/apis/attack-surface-management/llms.txt) - [OpenAPI document](https://skmtc.dev/tenable/apis/attack-surface-management/revisions/465c06285e48?raw)
