Skip to content

Commit fe3b007

Browse files
Example wasn't updated with api change (elastic#199667)
monitor api's have been moved under /api/synthetics --------- Co-authored-by: Shahzad <[email protected]>
1 parent 0348171 commit fe3b007

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/api/synthetics/private-locations/create-private-location.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Here is an example of a POST request to create a private location:
4444

4545
[source,sh]
4646
--------------------------------------------------
47-
POST /api/private_locations
47+
POST /api/synthetics/private_locations
4848
{
4949
"label": "Private Location 1",
5050
"agentPolicyId": "abcd1234",

docs/api/synthetics/private-locations/delete-private-location.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Here is an example of a DELETE request to delete a private location:
3131

3232
[source,sh]
3333
--------------------------------------------------
34-
DELETE /api/private-locations/<location_id>
34+
DELETE /api/synthetics/private-locations/<location_id>
3535
--------------------------------------------------
3636

3737
The API does not return a response body for deletion, but it will return an appropriate status code upon successful deletion.
3838

3939
This API will delete the private location with the specified `locationId`.
4040

41-
A location cannot be deleted if it has associated monitors in use. You must delete all monitors associated with the location before deleting the location.
41+
A location cannot be deleted if it has associated monitors in use. You must delete all monitors associated with the location before deleting the location.

0 commit comments

Comments
 (0)