Oauth
Update an OAuth provider
Updates an existing OAuth provider. Only the values provided will be updated.
patch/oauth-providers/{user_id}/{provider_id}
Path parameters
provider_idstring required
user_idstring required
The ID of the user, or the special value me for the currently authenticated user
Example:3241a285-8329-4d69-8f3d-316e08cf140c
The ID of the user, or the special value me for the currently authenticated user
Request body
Example request
{
"email": "test@gmail.com",
"account_id": "google-account-id-12345",
"allow_sign_in": true,
"allow_connected_accounts": true
}Response
Successful response
Example response
{
"account_id": "google-account-id-12345",
"user_id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"id": "b3d396b8-c574-4c80-97b3-50031675ceb2",
"email": "test@gmail.com",
"provider_config_id": "google",
"type": "google",
"allow_sign_in": true,
"allow_connected_accounts": true
}