DELETE
/projects/{project_id}/auth/oauth_providers/{oauth_provider_id}Delete OAuth providerDeprecated. Use /projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id} instead. Removal scheduled for March 1, 2026.
Parameters
project_idstringpathrequiredThe Neon project ID
oauth_provider_idstringpathrequiredThe OAuth provider ID
Responses
objectGeneralError
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"
}