delete_user
Permanently deletes a staff user by ID using staff-user credentials; Admin API integration keys cannot perform this action.
Instructions
Permanently delete 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. [DELETE /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>"
},
"name": "delete_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Value for {id} in the path. |