Bulk delete assets

Deletes the specified assets. This request creates an asynchronous delete job in Tenable Vulnerability Management.

For information about the assets bulk delete workflow and payload examples, see Bulk Asset Operations.

Requires the Scan Operator [24] user role. See Roles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
boolean
Defaults to false

Indicates whether or not to hard delete the specified assets.

Caution: Deleting assets completely removes the assets from your licensed asset count along with all related data and the deleted assets are not available for restoration. This occurs whether hard_delete is set to true or false.

When hard_delete is set to true, deleted assets are no longer visible in the user interface or available through the API. When hard_delete is set to false, deleted assets can only be retrieved via the API using a direct asset UUID, and are available for export via the API for 90 days. The primary goal of setting hard_delete to false is to reflect those deletions through integrations.

If this parameter is omitted, Tenable Vulnerability Management uses the default value of false.

query
required

The query filters for selecting assets to delete. The format for a single query filter is different from the format for multiple query filters so you must select one or the other.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Returned if your request specified invalid parameters or if your request was improperly formatted. For example, if you specify an invalid asset query using a malformed IPv4 address.

403

Returned if you do not have permission to bulk delete assets.

503

Returned if Tenable Vulnerability Management is unavailable or not ready to process the request. Wait a moment and try your request again.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html