plex_user
Manage Plex Media Server user accounts and access: list, get, create, update, delete, and set permissions for shared libraries.
Instructions
Comprehensive user management operations for Plex Media Server.
PORTMANTEAU PATTERN RATIONALE: Consolidates 6 user and access control operations into a single interface to ensure consistent security policy enforcement across shared libraries.
Return Format
ToolResult with content dict: {"success": bool, "operation": str, "data": {...}}
Examples
await plex_user(operation="list") await plex_user(operation="get", user_id="123") await plex_user(operation="create", username="newuser", email="user@example.com", password="secret1234")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | User role assignment. | |
| No | Email address for create/update operations. | ||
| user_id | No | Target user ID for scoped operations. | |
| password | No | Password for create/update operations (min 8 chars). | |
| username | No | Username for create/update operations. | |
| operation | Yes | User management operation to execute. | |
| restricted | No | Restrict user to specific libraries. | |
| permissions | No | Permission dict with keys like allowSync, restricted. |