---
title: "PUT /minions/restrictions/{minionId}"
method: PUT
path: "/minions/restrictions/{minionId}"
tags: ["Minions"]
---

# PUT /minions/restrictions/{minionId}

`PUT /minions/restrictions/{minionId}`

Set minion access restrictions

## Path parameters

- `minionId` string, required

## Request body

- RestrictionItem[]
  - `userEmail` string, required — The use to restrict
  - `restrictionType` 'BLOCK' | 'READ' | 'WRITE', required — Type of resection of access

## Response `204`

No content

## Other responses

- `501` — Server error

---

[API](https://skmtc.net/casanet/apis/casanet-local-server.md) · [All operations](https://skmtc.net/casanet/apis/casanet-local-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casanet/casanet-local-server/revisions/0f9f76cd80d5/schema)
