UpdateScrapeTarget
Update endpoint, labels, or scrape interval of an existing scrape target
PUT
/api/v1/monitoring/scrape-targets/{uuid}Operation ID
UpdateScrapeTargetSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
uuidStringRequiredUUID of the scrape target to update
Body Fields
nameStringRequiredUpdated display name
Example: node-exporter-host01-updated
endpointStringRequiredUpdated endpoint URL
Example: http://192.168.1.10:9100
metricsPathStringRequiredUpdated metrics path
Example: /metrics
scrapeIntervalIntegerRequiredUpdated scrape interval in seconds
Example: 30
labelsLinkedHashMapRequiredKey-value labels attached to this resource
Example: (nested object)
