/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}Update OAuth providerUpdates an OAuth provider for the specified project.
Parameters
project_idstringpathrequiredThe Neon project ID
branch_idstringpathrequiredThe Neon branch ID
oauth_provider_idstringpathrequiredThe OAuth provider ID
Request body
requiredapplication/json
client_idstringThe OAuth client ID registered with the provider. Omit to keep the currently configured value.
client_secretstringOAuth client secret for the provider. Omit to leave the existing secret unchanged.
microsoft_tenant_idstringThe tenant ID scoping the Microsoft OAuth provider. Supply this field when the provider type is microsoft; it has no effect for other provider types.
{
"client_id": "string",
"client_secret": "",
"microsoft_tenant_id": "string"
}Responses
client_idstringPublic identifier for the OAuth application, issued by the provider when the application is registered.
client_secretstringOAuth client secret for the provider.
idstringrequiredtypestringrequired{
"client_id": "string",
"client_secret": "",
"id": "github",
"type": "shared"
}codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}