Skip to main content
Previous section   Next section

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 /api/sam/admin/target/3

Parameters
id Required path variable. The id of the target instance to delete from SAM.
Previous section   Next section