---
title: "Patch Provider Config"
method: PATCH
path: "/v1/provider-configs/{config_id}"
tags: ["v1", "protected", "provider-configs"]
---

# Patch Provider Config

`PATCH /v1/provider-configs/{config_id}`

Partially update a provider configuration.

## Path parameters

- `config_id` string, uuid, required

## Request body

- ProviderConfigUpdate — Patch payload for an existing provider configuration. Unset = unchanged.
  - `api_key` string, nullable — New API key. Replaces the previously stored secret. Send an empty string to clear the key for keyless custom endpoints.
  - `description` string, nullable — New description for the configuration.
  - `endpoint_url` string, nullable — New endpoint URL, or empty string to clear.
  - `is_active` boolean, nullable — Activate or deactivate the configuration.
  - `is_public` boolean, nullable — Toggle workspace-wide visibility.
  - `name` string, nullable — New human-readable label for the configuration.

## Response `200`

Successful Response

- ProviderConfigResponse
  - `created_at` string, required
  - `created_by` string, required
  - `endpoint_url` string, nullable, required
  - `id` string, required
  - `is_active` boolean, required
  - `is_public` boolean, required
  - `model_instance_ids` string[]
  - `name` string, required
  - `provider_spec_id` string, required
  - `provider_spec_key` string, nullable
  - `provider_spec_name` string, nullable
  - `updated_at` string, required
  - `workspace_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/versions/e3650e48373b/schema)
