maton trigger destination update

Update a trigger’s destination

maton trigger destination update <destination-id> --trigger <trigger-id> [flags]

Options

--body-template <string>
New body template
--header <stringArray>
Header key=value pair (repeatable, replaces all headers)
-q, --jq <expression>
Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields
--method <string>
New HTTP method
--name <string>
New name
--status <string>
New status: {ENABLED|DISABLED}
--template <string>
Format JSON output using a Go template; see "maton help formatting"
-t, --trigger <string>
Trigger ID this resource belongs to (required)
--url <string>
New destination URL, must start with https://

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

JSON Fields

body_template, created_at, destination_id, headers, method, name, reason, signing_secret, status, updated_at, url

Examples

$ maton trigger destination update dst_123 --trigger trg_abc123 --url https://httpbin.org/post
$ maton trigger destination update dst_123 --trigger trg_abc123 --status DISABLED

See also