---
title: "Remove Agency Staff"
method: DELETE
path: "/api/v1/agency/{agency_id}/staff/{user_id}"
tags: ["Agency"]
---

# Remove Agency Staff

`DELETE /api/v1/agency/{agency_id}/staff/{user_id}`

## 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}`
- 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/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a staff member. Owner or admin (cannot remove owner).

## Path parameters

- `agency_id` string, uuid, required
- `user_id` string, uuid, 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/delete.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)
