Skip to main content
Glama

user_delete

Remove specified users from Zabbix by providing their user IDs. Returns a JSON-formatted result confirming the deletion process.

Instructions

Delete users from Zabbix.

Args: userids: List of user IDs to delete Returns: str: JSON formatted deletion result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
useridsYes

Implementation Reference

  • The 'user_delete' tool handler, decorated with @mcp.tool() for registration. It validates read-only mode, retrieves the Zabbix client, deletes the specified users via the Zabbix API, and returns a formatted JSON response.
    @mcp.tool() def user_delete(userids: List[str]) -> str: """Delete users from Zabbix. Args: userids: List of user IDs to delete Returns: str: JSON formatted deletion result """ validate_read_only() client = get_zabbix_client() result = client.user.delete(*userids) return format_response(result)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mpeirone/zabbix-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server