---
title: "Set a Staff Member's Org Access"
method: PUT
path: "/v2/staff-org-access"
tags: ["staff-org-access"]
---

# Set a Staff Member's Org Access

`PUT /v2/staff-org-access`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/staff-org-access`
- Auth: HTTP bearer

Creates or updates the access row for the (staff email, organization)
pair. A role id pins the staff member to that role in the org, replacing
their home-org baseline; the role is a system role or one of the Stuut
org's own custom roles. A null role id blocks them from the org
entirely. Takes effect on the staff member's next request.

## Request body

- UpsertStaffOrgAccessRequest
  - `staff_email` string, required
  - `organization_id` string, required
  - `role_id` string, nullable, required

## Response `200`

Successful Response

- StaffOrgAccessSchema
  - `id` string, required
  - `staff_email` string, required
  - `organization_id` string, required
  - `role` RoleSummary, required: Lightweight role for nested relationships.
    - `id` string, required
    - `slug` string, required
    - `name` string, required
    - `is_system` boolean, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Content

---

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