# Update OIDC configuration for a tenant

`PUT /lokta-lms/api/v1/tenants/{tenantId}/oidc-config`

Updates the existing OIDC/IdP configuration for the given tenant. If clientSecret is omitted in the request body, the existing encrypted secret is preserved.

## Parameters
- `tenantId` (path, string, required): tenantId

## Responses
- `default`: default response

## Example request (cURL)
```bash
curl -X PUT \
  'https://default.lokta.tech/lokta-lms/api/v1/tenants/{tenantId}/oidc-config' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
"string"
```

Interactive: https://developer.lokta.ai/reference#operation/update_1
