---
title: "Set Colleague Access"
method: PATCH
path: "/api/admin/oauth-clients/{client_id}/colleague"
tags: ["admin"]
---

# Set Colleague Access

`PATCH /api/admin/oauth-clients/{client_id}/colleague`

## Request

- Base URL: `https://pozeidon.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://pozeidon.ai/api/admin/oauth-clients/{client_id}/colleague`
- Auth: none declared. Required headers: `x-admin-secret`

Add or remove one client from the colleague-MCP audience allow-list.

This is the whole onboarding/offboarding switch: no env edit, no restart.
Enabling takes effect on the client's next token verify; disabling stops
new authentications immediately (existing access tokens still expire on
their own short TTL — revoke the refresh-token family to cut a live one).

## Path parameters

- `client_id` string, required

## Headers

- `x-admin-secret` string, required

## Request body

- ColleaguePatchRequest
  - `colleague_enabled` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pozeidon/apis/pozeidon-demo.md) · [All operations](https://skmtc.dev/pozeidon/apis/pozeidon-demo/llms.txt) · [OpenAPI document](https://skmtc.dev/pozeidon/apis/pozeidon-demo/revisions/961f0099c084?raw)
