st2 trigger update <ref-or-id> <file>
Updating an existing trigger
Arguments
Name | Description |
---|---|
ref-or-id | Reference or ID |
file | JSON/YAML file |
Options
Name | Description |
---|---|
-h, --help | Show this help and exit |
-t, --token <TOKEN> | Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default |
--api-key <API_KEY> | Api Key for user authentication. Get ST2_API_KEY from the environment variables by default |
-j, --json | Print output in JSON format |
-y, --yaml | Print output in YAML format |