mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-26 17:41:30 +02:00
Editing a provider's upstream URL meant retyping its API key. The key is the one field the API never returns, so there was nothing to retype from, and the dashboard had to demand it because a provider_id request resolved the upstream from the stored row — listing the old endpoint while the form showed the new one. The request now reads as a partial edit of the record it names, the same way PUT on a provider already does: an upstream in the body overrides the stored one, an omitted upstream keeps it. The credential and the catalog entry still come from the record only, so a caller cannot aim a stored key at a vendor of their choosing.