Skip to main content

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

Delete an instance from SAM

Description

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

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