POST /siem/offense_saved_searches/{id}

Updates the offense saved search owner only.

Updates the offense saved search owner only.

Table 1. POST /siem/offense_saved_searches/{id} resource details
MIME Type

application/json

Table 2. POST /siem/offense_saved_searches/{id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

id

path

Required

Number (Integer)

text/plain

null

filter

header

Optional

String

text/plain

Optional - This parameter is used to restrict the elements in a list base on the contents of various fields.

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.

Range

header

Optional

String

text/plain

Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero.

Table 3. POST /siem/offense_saved_searches/{id} request body details
Parameter Data Type MIME Type Description Sample

saved_search

Object

application/json

null

{ "id": "1", "name": "String", "is_shared": true, "owner": "String" }

Table 4. POST /siem/offense_saved_searches/{id} response codes
HTTP Response Code Unique Code Description

200

The offense saved search was updated.

403

1009

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

404

1002

The offense saved search does not exist.

409

1004

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

422

1005

A request parameter is not valid.

500

1020

An error occurred during the attempt to update the offense saved search.

Response Description

The offense saved search after it is updated. An offense saved search object contains the following fields:
  • id - Long - The ID of the offense saved search.
  • name - String - The name of the offense saved search.
  • owner - String - The owner of the offense saved search.

Response Sample


{
    "id": 42,
    "name": "String",
    "owner": "String"
}