---
title: "Switches the calling customer's active organization to the given one."
method: PUT
path: "/organizations/active"
tags: ["Organization"]
---

# Switches the calling customer's active organization to the given one.

`PUT /organizations/active`

The active organization determines the token's org claim; the change takes effect the next time
 the client refreshes its token. Responds with 403 when the caller is not a member of the target
 organization.

## Request body

- SwitchActiveOrganizationEndpointInput
  - `organizationId` string, required — The id of the organization to activate.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

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