Update a user
update_userChange a Woodpecker CI user's role and details: grant admin control or update email while preserving untouched fields. Requires admin privileges; a confirm token is needed to grant admin access.
Instructions
Changes an account. Admin only. The one that matters is "admin": granting it gives full control of the instance, including every secret of every repository. Fields you do not pass are preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin | No | Instance administrator. Grants access to every repository, secret and agent on the server. Granting it needs a confirm_token. | |
| No | |||
| login | Yes | The account login as it is spelled in the forge. | |
| forge_id | Yes | Which forge the login belongs to. Required by the API — a login is only unique per forge. list_users shows it; on a single-forge instance it is 1. | |
| confirm_token | No | Token from a previous call of this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |