Change the settings of a Triage source
Change the supplied settings of one source of your team. Team admins only. Inbox listings and synchronization never write these settings, so a display name survives them. The update policy is stored and never executed. Saving an enabled auto triage rule makes you its actor: the rule runs as you, so your membership, admin role, visibility of the source, the model and your credit eligibility are checked now and again before every run. Disabling the rule cancels its queued jobs. Built-in sources accept settings whatever TRIAGE_CUSTOM_SOURCES_MODE says; enabling auto triage on a custom source needs custom sources on.
Body
Settings to change; omitted fields keep their value.
Response
The source settings after the change
The settings of a source: its display name, labels per context, update policy (stored, never executed), closed status values (custom sources) and auto triage rule.
The auto triage rule of a source. It runs as its actor, the admin who last saved it enabled. A rule pauses (enabled false, last_error_code set) when its actor leaves the team (membership_revoked), is no longer an admin (actor_not_admin), can no longer see the source (source_not_visible), or after repeated failed runs. Turning TRIAGE_REVIEWS_MODE off (or custom sources off, for a custom source) does not pause it: its runs end with triage_reviews_disabled (or custom_sources_disabled) and the rule resumes when the switch is on again.

