Idempotent Update Trigger

An idempotent (replacement) update method for Triggers.

Contrary to the similar PATCH method (of the same endpoint), the entirety of the trigger data being updated needs to be sent.

  • {"name": "Trigger Name Update"} will update the trigger and remove any existing tags.
  • {"tags": [{"label": "A New Tag", "value": "{a_new_tag}"}]} by itself will fail because the name property is required
  • {"name": "Trigger Name Update", "tags": [{"label": "A New Tag", "value": "{a_new_tag}"}]} will set the trigger name to Trigger Name Update and override any existing tags with the list of tags from the request.
Language
Credentials
Header