---
title: "POST /core/users/switch/"
method: POST
path: "/core/users/switch/"
tags: ["core"]
---

# POST /core/users/switch/

`POST /core/users/switch/`

Start browser user switching.

## Query parameters

- `next` string

## Request body

- UserSwitchRequest — Request to add or switch users in the current browser.
  - `action` 'add' | 'switch'
  - `user_pk` integer

## Response `200`

- UserSwitchResponse — Redirect returned after planning a user switch.
  - `redirect` string, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
