---
title: "Update Agent Config Endpoint"
method: PUT
path: "/api/desktop/config/{agent_id}"
tags: ["desktop"]
---

# Update Agent Config Endpoint

`PUT /api/desktop/config/{agent_id}`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/desktop/config/{agent_id}`
- Auth: HTTP bearer

Update per-agent config. Enabling installs skill. Disabling clears all permissions + uninstalls skill.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- DesktopToolConfigUpdate
  - `enabled` boolean, nullable
  - `tool_permissions` object, nullable
  - `allowed_domains` string[], nullable
  - `blocked_domains` string[], nullable
  - `selected_client_id` string, nullable

## Response `200`

Successful Response

- DesktopToolConfigResponse
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `agent_id` string, uuid, nullable
  - `enabled` boolean, required
  - `tool_permissions` object
  - `allowed_domains` string[]
  - `blocked_domains` string[]
  - `selected_client_id` string, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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