---
title: "Update Agency Staff Role"
method: PUT
path: "/api/v1/agency/{agency_id}/staff/{user_id}/role"
tags: ["Agency"]
---

# Update Agency Staff Role

`PUT /api/v1/agency/{agency_id}/staff/{user_id}/role`

## Request

- Base URL: `https://api.insighto.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.insighto.ai/api/v1/agency/{agency_id}/staff/{user_id}/role`
- Auth: one of:
  - API key in query parameter `api_key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/insighto/apis/ragify/docs/api/v1/agency/:agency_id/staff/:user_id/role/put.ts> (a function with typed inputs; its response is checked against the schema)

Change a staff member's role. Owner only.

## Path parameters

- `agency_id` string, uuid, required
- `user_id` string, uuid, required

## Request body

- IRoleUpdateRequest
  - `role` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-13** `40a9bd2fdd6e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/insighto/apis/ragify/changes/api/v1/agency/:agency_id/staff/:user_id/role/put.md)

---

[API](https://skmtc.dev/insighto/apis/ragify.md) - [All operations](https://skmtc.dev/insighto/apis/ragify/llms.txt) - [OpenAPI document](https://skmtc.dev/insighto/apis/ragify/revisions/cdca56191be9?raw)
