Update a user by its ID
gitbook_update_user_by_idUpdate a GitBook user's data by providing the user ID and a JSON request body with the changes.
Instructions
Update a user by its ID. (PATCH /users/{userId})
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": {
"userId": "<userId>"
},
"name": "gitbook_update_user_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Path parameter: userId. | |
| body | No | Request body as a JSON object, per the GitBook API for this operation. |