Skip to main content

DELETE /api/sam/admin/target/{id}

Delete an instance from SAM


This method removes the given target so Prometheus stops scraping from it.

To use this endpoint, you must log in as a user with access to the %SAM.Admin resource.

Request Example

DELETE http://localhost:8080/api/sam/admin/target/3

id Required path variable. The id of the target instance to delete from SAM.
FeedbackOpens in a new tab