---
title: "PUT /api/v1/integrations/providers/{provider}/config"
method: PUT
path: "/api/v1/integrations/providers/{provider}/config"
tags: ["integrations"]
---

# PUT /api/v1/integrations/providers/{provider}/config

`PUT /api/v1/integrations/providers/{provider}/config`

## Path parameters

- `provider` string, required

## Request body

- UpsertProviderConfigDto
  - `clientId` string, required — OAuth client identifier used for this provider
  - `clientSecret` string — OAuth client secret. Required when configuring the provider for the first time.

## Response `200`

- ProviderConfigurationResponse
  - `provider` string, required
  - `clientId` string — Stored OAuth client identifier
  - `hasClientSecret` boolean, required — True when a client secret has been stored for this provider
  - `configuredBy` 'environment' | 'user', required — Origin of the credential configuration
  - `updatedAt` string — Last update timestamp in ISO 8601 format

## Changes

- **2025-11-07** `f2ff775c3589` — 1 info
  - endpoint added
- **2025-10-24** `8db531c050e5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/changes/api/v1/integrations/providers/:provider/config/put.md)

---

[API](https://skmtc.dev/shipsecai/apis/shipsec-studio-api.md) · [All operations](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shipsecai/shipsec-studio-api/revisions/cc60562ad9f3/schema)
