We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0374c67 commit ff5c3c7Copy full SHA for ff5c3c7
docs/sign-in-out.md
@@ -200,6 +200,7 @@ The following example will switch the authenticated user to the NEW_SITENAME sit
200
201
```py
202
# assume we already have an authenticated server object
203
-
204
-server.auth.switch_site('NEW_SITENAME')
+new_site = server.sites.get_by_name('NEW_SITENAME')
+# switch_site expects a SiteItem object
205
+server.auth.switch_site(new_site)
206
```
0 commit comments