---
title: "Update Agent Discoverability"
method: PATCH
path: "/api/agents/{agent_id}/settings"
tags: ["agents"]
---

# Update Agent Discoverability

`PATCH /api/agents/{agent_id}/settings`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_id}/settings`
- Auth: none declared

Update discoverability settings for the effective identity.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- AgentDiscoverabilityRequest
  - `discoverable_by_username` boolean, nullable
  - `discoverable_by_email` boolean, nullable
  - `auto_accept` boolean, nullable
  - `connection_policy` 'off' | 'request' | 'auto', nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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