---
title: "Replace Shop Role Permissions"
method: PUT
path: "/api/v1/shops-admin/shops/{shop_id}/role-permissions"
tags: ["v1", "Shops Admin"]
---

# Replace Shop Role Permissions

`PUT /api/v1/shops-admin/shops/{shop_id}/role-permissions`

## 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/shops-admin/shops/{shop_id}/role-permissions`
- Auth: none declared

Write the shop's overlay snapshot. Must include every catalog role.

## Path parameters

- `shop_id` integer, required

## Request body

- ShopRolePermissionsUpdate: Replace a shop's role-permission overlay grid (one row per catalog role).
  - `roles` ShopRoleOverlayRow[], required
    - `shop_role_id` integer, required
    - `permissions` object, required

## Response `200`

Successful Response

- object

## 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)
