Modifies any property of the analysis.

Syntax
.edit(/id/, /data/)

Arguments

Field nameTypeDescription
id
string
Reference ID of the analysis.
data
object
Options to be modified in the analysis. 
name
string
[optional]
A name for the analysis.
description string
[optional] 
Description of the analysis. 
interval
string
[optional] 
The time interval for when the analysis will run. Default is Never 
active
bool
[optional] 
Set if the analysis will be active. Default True.
variables
array
[optional] 
Environment variables to be passed when the analysis runs. 
tags
array
[optional] 
An array of objects with key and value. 

Returns {Promise<JSON>}