Skip to main content
PATCH
/
settings
/
oauth
Update Oauth Settings
curl --request PATCH \
  --url https://api.example.com/settings/oauth \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "oauth_google_enabled": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Body

application/json

Settings for OAuth authentication.

oauth_google_enabled
boolean
default:true

Whether OAuth is enabled.

Response

Successful Response