Delete user
nextcloud_delete_userDelete a Nextcloud user account and all associated files, with explicit confirmation required for this destructive operation.
Instructions
Delete one account and its files.
DELETE /ocs/v2.php/cloud/users/{user_id}
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": {
"user_id": "<user_id>"
},
"name": "nextcloud_delete_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| user_id | Yes |