-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Synthetics] Fix location remove via public API !! (#199170)
## Summary Fixes #199108 Fix location remove via public API !! ### Testing Create a Monitor that is configured in two locations: ``` POST kbn:/api/synthetics/monitors { "type": "http", "name": "healthcheck", "url": "https://www.elastic.co", "locations": ["united_kingdom", "germany"] } ``` Extract from the response the config_id Update the monitor to remove one location ``` PUT kbn:/api/synthetics/monitors/<config-id> { "type": "http", "name": "healthcheck", "url": "https://www.elastic.co", "locations": ["united_kingdom"] } ``` This should remove Germany location from monitor !! (cherry picked from commit 4a34105)
- Loading branch information
Showing
3 changed files
with
68 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters