Skip to main content
PATCH
Change the settings of a Triage source

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string<uuid>
required

Source id

Body

application/json

Settings to change; omitted fields keep their value.

auto_triage
object

The auto triage rule to save. Saving it enabled makes you the admin it runs as.

closed_status_values
string[]

Source status values that count as closed at the source (custom API sources). Replaces the stored values.

Maximum array length: 50
Required string length: 1 - 100
context_labels
object

Display labels per context. Replaces the stored labels.

display_name
string

Name to show for the source. Inbox listings and synchronization never change it.

Required string length: 1 - 80
update_policy
object

How the source would be updated after a review. Stored only; never executed.

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.

auto_triage
object
required

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.

closed_status_values
string[]
required

Source status values that count as closed at the source (custom API sources).

context_labels
object
required

Display labels per context, for example a name for a HackerOne program handle.

display_name
string
required

The name set in the settings, or the source name when none is set.

source_id
string<uuid>
required

The source these settings belong to.

update_policy
object
required

How the source would be updated after a review. Stored only; Neo never writes to the source.

updated_at
string<date-time>

When the settings last changed.