Update Saved Search
PATCH {{baseUrl}}/v2/alerts/saved-searches/:identifier?identifierType=id
Update saved search for the given search identifier
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
identifierType | string | Type 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"requestId":"nulla elit ex","took":0,"data":{"id":"ea quis fugiat","name":"amet officia","createdAt":"1981-03-21T23:45:40.222Z","updatedAt":"1983-07-28T11:17:11.512Z","owner":{"id":"reprehenderit aliqua"},"teams":[{"id":"incididunt sunt dolor"},{"id":"mollit commodo ea Lo"}],"description":"ullamco dolor nostrud incididunt","query":"aliquip ut enim"}}