Skip to content

Commit 6ddae6e

Browse files
committed
Remove switchUser example
1 parent 655328c commit 6ddae6e

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

plexapi/server.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -249,17 +249,6 @@ def switchUser(self, user, session=None, timeout=None):
249249
timeout (int, optional): Timeout in seconds on initial connection to the server.
250250
This will default to the same timeout as the admin account if no new timeout
251251
is provided.
252-
253-
Example:
254-
255-
.. code-block:: python
256-
257-
from plexapi.server import PlexServer
258-
# Login to the Plex server using the admin token
259-
plex = PlexServer('http://plexserver:32400', token='2ffLuB84dqLswk9skLos')
260-
# Login to the same Plex server using a different account
261-
userPlex = plex.switchUser("Username")
262-
263252
"""
264253
return self.switchHomeUser(user, session=session, timeout=timeout)
265254

0 commit comments

Comments
 (0)