update_user
Update a staff user's details or role by ID in Ghost CMS. Requires a staff access token or user session; Admin API integration keys are not supported.
Instructions
Update a staff user by id. This route is not available to Admin API integration keys: it needs a staff user's access token (from the user's profile page in Ghost Admin, set as GHOST_ADMIN_API_KEY) with a role that allows it, or a user session. [PUT /admin/users/{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": {
"id": "<id>",
"data": "<data>"
},
"name": "update_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Value for {id} in the path. | |
| data | Yes | Fields of the users object, as in the Ghost Admin API docs. |