---
title: "Update OAuth2 provider settings."
method: PUT
path: "/api/v2/oauth2-provider/settings"
tags: ["Enterprise"]
---

# Update OAuth2 provider settings.

`PUT /api/v2/oauth2-provider/settings`

## Request body

- CodersdkOAuth2ProviderSettings
  - `dynamic_client_registration_enabled` boolean

## Response `200`

OK

- CodersdkOAuth2ProviderSettings
  - `dynamic_client_registration_enabled` boolean

---

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