POST /qvm/saved_searches/{saved_search_id}

Updates the vulnerability saved search owner only.

Updates the vulnerability saved search owner only.

Table 1. POST /qvm/saved_searches/{saved_search_id} resource details
MIME Type

application/json

Table 2. POST /qvm/saved_searches/{saved_search_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

saved_search_id

path

Required

Number (Integer)

text/plain

null

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. POST /qvm/saved_searches/{saved_search_id} request body details
Parameter Data Type MIME Type Description Sample

saved_search

Object

application/json

null

{ "filters": [ { "operator": "String", "parameter": "String", "value": "String" } ], "id": 42, "name": "String", "owner": "String" }

Table 4. POST /qvm/saved_searches/{saved_search_id} response codes
HTTP Response Code Unique Code Description

200

The vulnerability saved search was updated.

403

1009

You do not have the required capabilities to update the vulnerability saved search.

404

1002

The vulnerability saved search does not exist.

409

1004

The provided user does not have the required capabilities to own the vulnerability saved search.

422

1005

A request parameter is not valid.

500

1020

null

Response Description

The vulnerability saved search after it was updated. A Vulnerability Saved Search object contains the following fields:
  • id - Long - The ID of the asset saved search.
  • name - String - The name of the asset saved search.
  • owner - String - The owner of the asset saved search.
  • isShared - Boolean - True if the asset saved search is shared with other users.
  • description - String - The description of the asset saved search.
  • filters - List of Strings - The asset saved search filters.
  • columns - List of Strings - The asset saved search columns.

Response Sample


{
    "filters": [
        {
            "operator": "String",
            "parameter": "String",
            "value": "String"
        }
    ],
    "id": 42,
    "name": "String",
    "owner": "String"
}