---
title: "Set Acting Shop"
method: PATCH
path: "/api/v1/auth/me/acting-shop"
tags: ["v1", "Auth"]
---

# Set Acting Shop

`PATCH /api/v1/auth/me/acting-shop`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/auth/me/acting-shop`
- Auth: none declared

Move a platform admin's session into another shop (or home with null).

Platform admins hold ONE users row (home shop, owner) and no membership
anywhere else; ``platform_admins.acting_shop_id`` is what
core/auth/session_payload.py turns into an owner session in that shop on
the next request. Real-flag gated (``require_platform_admin``) so a
view-as-demoted admin can still move between shops. The client reloads
after this call — every cache was fetched under the previous shop.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
