---
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

---

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