Set API Test Destinations
set_api_test_destinationsReplace where one API test's DOWN/UP alerts are delivered. Routing only: the test's configuration and state are untouched. ADMIN only.
channelIds are registry channel UUIDs (the id field from the investigation service's list_alert_channels, not Slack channel ids). Omit or pass null to clear the test's own routing so it inherits the tenant's API test default (Settings > Notifications, or the investigation service's set_notification_destinations with source e2e-monitoring). Pass an empty list to switch this test's alerts off entirely. A per-test setting outranks the source-level one.
Destinations are not stored by this service; they live with the investigation service's notification routing. An unknown channel id is rejected and nothing changes. Read the current value with get_api_test_destinations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiTestId | Yes | Id of the API test (from list_api_tests or get_api_test) | |
| channelIds | No | Registry channel UUIDs to deliver to; empty list = off; omit = inherit |