Modify any property of the action.

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

Arguments

Fields nameTypeDescription
id
string
Reference ID of the action. 
data
object
Properties to be changed. See '.create' for more references.

Returns {Promise<JSON>}