---
title: "Update Mcp Auth Config"
method: PUT
path: "/v1/workspaces/{workspace}/mcp-auth-configs/{config_id}"
tags: ["v1", "protected", "mcp-auth-configs"]
---

# Update Mcp Auth Config

`PUT /v1/workspaces/{workspace}/mcp-auth-configs/{config_id}`

## Path parameters

- `config_id` string, uuid, required
- `workspace` string, required — Slug of the workspace the request acts in

## Request body

- MCPAuthConfigUpdateRequest
  - `config` object, nullable
  - `credentials` object, nullable
  - `description` string, nullable
  - `name` string, nullable

## Response `200`

Successful Response

- MCPAuthConfigResponse
  - `auth_type` string, required
  - `config` object, required
  - `created_at` string, required
  - `description` string, nullable, required
  - `id` string, uuid, required
  - `name` string, required
  - `updated_at` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/mcp-auth-configs/:config_id/put.md)

---

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