Delete a user
delete_userRemove a user account from Woodpecker CI. Transfer owned repositories to another user first to prevent pipelines from failing due to a missing token.
Instructions
Removes an account from Woodpecker. Admin only. Repositories the account owned keep running on a token that no longer exists, which shows up later as pipelines that stop starting — chown_repository moves ownership to someone else, and doing that first is the point. Two-step.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"login": "<login>",
"forge_id": "<forge_id>"
},
"name": "delete_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |