Update Saved Search

PATCH {{baseUrl}}/v2/alerts/saved-searches/:identifier?identifierType=id

Update saved search for the given search identifier

Request Params

KeyDatatypeRequiredDescription
identifierTypestringType of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name'

Request Body

{"name"=>"<string>", "query"=>"<string>", "owner"=>{"type"=>"<string>", "id"=>"<string>", "username"=>"<string>"}, "description"=>"<string>", "teams"=>[{"type"=>"<string>", "id"=>"<string>", "name"=>"<string>"}, {"type"=>"<string>", "id"=>"<string>", "name"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;requestId&quot;:&quot;nulla elit ex&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;id&quot;:&quot;ea quis fugiat&quot;,&quot;name&quot;:&quot;amet officia&quot;,&quot;createdAt&quot;:&quot;1981-03-21T23:45:40.222Z&quot;,&quot;updatedAt&quot;:&quot;1983-07-28T11:17:11.512Z&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;reprehenderit aliqua&quot;},&quot;teams&quot;:[{&quot;id&quot;:&quot;incididunt sunt dolor&quot;},{&quot;id&quot;:&quot;mollit commodo ea Lo&quot;}],&quot;description&quot;:&quot;ullamco dolor nostrud incididunt&quot;,&quot;query&quot;:&quot;aliquip ut enim&quot;}}