delete-user
Remove a WordPress user account and reassign their posts to another user using the WordPress MCP Server tool. Simplify user management with secure programmatic actions.
Instructions
Delete a WordPress user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
password | Yes | WordPress application password | |
reassignId | Yes | ID of the user to reassign posts to | |
siteUrl | Yes | WordPress site URL | |
userId | Yes | User ID or 'me' for current user | |
username | Yes | WordPress username |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"password": {
"description": "WordPress application password",
"type": "string"
},
"reassignId": {
"description": "ID of the user to reassign posts to",
"type": "number"
},
"siteUrl": {
"description": "WordPress site URL",
"format": "uri",
"type": "string"
},
"userId": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"const": "me",
"type": "string"
}
],
"description": "User ID or 'me' for current user"
},
"username": {
"description": "WordPress username",
"type": "string"
}
},
"required": [
"siteUrl",
"username",
"password",
"userId",
"reassignId"
],
"type": "object"
}