Update OAuth2 provider settings.
PUT
CoderSessionTokenheader
Coder-Session-Token<token>OAuth2 provider settings request
application/json- body
dynamic_client_registration_enabled?booleanOK
application/json- response
dynamic_client_registration_enabled?booleanThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X PUT \ "$CODER_URL/api/v2/oauth2-provider/settings" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "dynamic_client_registration_enabled": true}'Example Response200
{ "dynamic_client_registration_enabled": true}