---
title: "Switch the dashboard's active company"
method: POST
path: "/api/v1/companies/active"
tags: ["Companies"]
---

# Switch the dashboard's active company

`POST /api/v1/companies/active`

## Request

- Base URL: `https://qrlia.dev.castlesoft.eu`
- URL: `https://qrlia.dev.castlesoft.eu/api/v1/companies/active`
- Auth: API key in cookie `qrc_session`

## Request body

- object
  - `companyId` string, uuid, required

## Response `200`

Switched

- object

## Other responses

- `400`: Validation failed
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `500`: Internal

---

[API](https://skmtc.dev/qrlia/apis/qrlia-api.md) · [All operations](https://skmtc.dev/qrlia/apis/qrlia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qrlia/apis/qrlia-api/revisions/01c5dd6002ab?raw)
