# How to switch organisations for following scenery?

**URL:** <https://community.grafana.com/t/how-to-switch-organisations-for-following-scenery/1613>\
**Category:** Grafana\
**Created:** [July 1, 2017, 6:43am UTC](https://community.grafana.com/t/how-to-switch-organisations-for-following-scenery/1613 "2017-07-01T06:43:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![liqiheng](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@liqiheng](https://community.grafana.com/u/liqiheng)\
**Post date:** [July 1, 2017, 6:43am UTC](https://community.grafana.com/t/how-to-switch-organisations-for-following-scenery/1613/1 "2017-07-01T06:43:13Z")

</div>

A user has a few organisations,can he login to grafana by specifying organisation name so that he can be directed to one of dashboards of the organisation:

for example:

[http://rdsmon-test.huawei.com:8000/dashboard/db/cdb?var-DS=DS\_P2\_hwAdmin&var-architectureName=arch123&var-cdbName=clusterdb234&var-sid=cdbctF1](http://rdsmon-test.huawei.com:8000/dashboard/db/cdb?var-DS=DS_P2_hwAdmin&var-architectureName=arch123&var-cdbName=clusterdb234&var-sid=cdbctF1)

for above url,a user may not have right to access because the default organisation of the user may be not the right organisation,can the organisation name be specified in the url so that the user login to the grafana with the right organisation? If not,any workarounds?

thanks

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [July 2, 2017, 12:16pm UTC](https://community.grafana.com/t/how-to-switch-organisations-for-following-scenery/1613/2 "2017-07-02T12:16:43Z")

</div>

You can use the organization id in the url: as a querystring parameter. An example:

`http://grafana.staged-by-discourse.com?orgId=2`

You can find the org id for each organization on the Global Orgs page.

---

<div class="post-metadata">

**Author:** ![liqiheng](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@liqiheng](https://community.grafana.com/u/liqiheng)\
**Post date:** [July 3, 2017, 1:29am UTC](https://community.grafana.com/t/how-to-switch-organisations-for-following-scenery/1613/3 "2017-07-03T01:29:50Z")

</div>

Can we use organisation name instead of org\_id?

in fact,we integrated the Grafana to another system,which should not access the grafana backend database.

thanks

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [July 3, 2017, 8:24am UTC](https://community.grafana.com/t/how-to-switch-organisations-for-following-scenery/1613/4 "2017-07-03T08:24:06Z")

</div>

At the moment, there is only support for the orgId parameter. You can get the organization by name from API if you need to integrate it with another system.

[http://docs.grafana.org/http\_api/org/#get-organisation-by-name](http://docs.grafana.org/http_api/org/#get-organisation-by-name)
