---
title: "switchOrganization"
method: POST
path: "/v2/users/switchOrganization"
tags: ["User V2"]
---

# switchOrganization

`POST /v2/users/switchOrganization`

Switch to another organization the user is part of

## Request body

- object
  - `org_id` string, required

## Response `200`

A login token for the new organization to be used with CUSTOM_AUTH flow

- object
  - `login_token` string, required — A login token for the new organization to be used with CUSTOM_AUTH flow against login parameters

---

[API](https://skmtc.net/epilot/apis/user-api.md) · [All operations](https://skmtc.net/epilot/apis/user-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/user-api/revisions/7fae886a3c99/schema)
