pbs_metrics_influxdb_http_update
Update an existing PBS InfluxDB HTTP metrics server configuration. Modify URL, token, bucket, or other properties with optional dry-run plan before execution.
Instructions
MUTATION: update a PBS InfluxDB http metrics server configuration.
RISK_MEDIUM: rotating the token/url/bucket can silently redirect or break metrics delivery —
mirrors pbs_s3_client_update. SECRET CONTRACT: token (if given) is NEVER written to the audit
ledger or the dry-run PLAN. Dry-run by default (captures current token-free config into the
PLAN, redacted again defensively); confirm=True executes (PUT
/config/metrics/influxdb-http/{name}, synchronous — PBS returns null) and returns
{"status": "ok", "result": None}. No snapshot primitive. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New HTTP(s) url with optional port. | |
| name | Yes | Id of the existing InfluxDB http metrics server to update. | |
| token | No | New API token. SECRET — never written to the audit ledger or the dry-run PLAN. | |
| bucket | No | New InfluxDB Bucket (1-32 chars). | |
| delete | No | Property names to clear: any of enable/token/bucket/organization/max-body-size/verify-tls/comment. name/url are NOT deletable — rotate them with a new value instead. | |
| digest | No | Optimistic-lock: 64-char lowercase hex SHA-256 of the config PBS last returned. | |
| enable | No | Enable or disable the metrics server. | |
| comment | No | New comment (<=128 chars, no control chars). | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the update. | |
| verify_tls | No | Validate the endpoint's certificate. | |
| organization | No | New InfluxDB Organization (1-32 chars). | |
| max_body_size | No | New maximum body size in bytes. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |