Edit Live Query Template by ID

PUT {{cb_url}}/livequery/v1/orgs/{{cb_org_key}}/templates/{{cb_template_id}}

Edit a query template (i.e. run schedule).

RBAC Permissions Required

Permission (.notation name)Operation(s)
livequery.manageUPDATE

See Documentation

Request Body

{"create_time"=>"<string>", "created_by"=>"<string>", "device_filter"=>{"device_id"=>["<long>", "<long>"], "os"=>["<string>", "<string>"], "policy_id"=>["<long>", "<long>"]}, "id"=>"<string>", "last_run_create_time"=>"<string>", "name"=>"<string>", "next_run_time"=>"<string>", "notify_on_finish"=>"<boolean>", "recommended_query_id"=>"<string>", "schedule"=>{"cancellation_time"=>"<string>", "cancelled_by"=>"<string>", "next_run_time"=>"<string>", "previous_run_time"=>"<string>", "recurrence"=>"<string>", "rrule"=>"<string>", "status"=>"<string>", "timezone"=>"<string>"}, "sql"=>"<string>", "update_time"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring