ghl_user_delete
Deletes a GoHighLevel user by userId, enabling removal of an Agency or Sub-Account user account when users.write scope is available.
Instructions
KNOWN ISSUE: the official spec omits userId from this operation's path-parameter list (only the GET sibling declares it, despite all three sharing the same {userId} path template), so this tool currently has no input field for userId and calls will fail with a missing-path-parameter error until the generator (src/registry.ts) is patched to infer path params from the URL template. Tracked in this file's notes.
Delete User
Endpoint: DELETE /users/{userId} (Version header: v3; source: v3/users-v3.json)
Requires an Agency or Sub-Account token.
OAuth scopes: users.write
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": "ghl_user_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Path parameter (inferred from the URL template; the official spec omits its declaration). |