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

# Archive or unarchive assets

`POST /asset/hide`

## Request

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

Archives or unarchives specific assets.

## Request body

- object[]
  - `id` string, required
  - `hidden` boolean, required

## 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)
