Update registry credentials
update_registryChange the username or password of an existing registry entry at repository, organization, or global scope. Registry address is the identifier; delete and recreate the entry to change it.
Instructions
Changes the username or password of a registry entry. The address itself cannot be changed — it is the identifier; delete and re-create instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Which level to act on. "repository" needs repo_id, "organization" needs org_id, and "global" is instance-wide and needs neither (admin only). A pipeline sees the repository level first, then the organization, then global. | |
| org_id | No | Required when scope is "organization". | |
| address | Yes | Registry address, which is also its identifier — for example "docker.io". | |
| repo_id | No | Required when scope is "repository". | |
| password | No | Registry password or token. Write-only — Woodpecker strips it from every response, so it cannot be read back. | |
| username | No | Registry username. | |
| confirm_token | No | Required only when passing "password"; changing the username alone applies on the first call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |