The platform, data_region, and custom_bucket attributes are immutable and cannot be changed after a collector is created.
Explore documentation
Update a collector
Updates an existing collector. Only the provided parameters will be changed.
URL parameters
The unique identifier of the collector to update.
Headers
Bearer $TOKEN
Body parameters
A new unique name for the collector.
A new note for the collector. Send null to clear the existing note.
Custom retention period for logs, in days. This is only available on select plans.
Custom retention period for metrics, in days. This is only available on select plans.
Set to true to pause data ingestion, or false to resume.
A VRL program to be applied to logs server-side. Send null to remove.
A custom Vector configuration in YAML format. Send null to remove.
An object containing detailed configuration options to update. Only the keys provided in this object will be modified.
An object containing proxy-specific settings to update. To clear the HTTP basic auth password, send http_basic_auth_password: null.
An array of database objects to add, update, or remove. To remove a database, include its id and set _destroy: true.
Updating Databases
To manage monitored databases, provide an array to the databases parameter. Each object in the array can either update an existing database (by providing its id) or create a new one (by omitting the id). To delete a database, include its id and set _destroy: true.
The collector was updated successfully.
Response body
A collector with the specified ID was not found.
Validation failed due to invalid or unsupported parameters.
Response body
Example Request