Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request PATCH \
--url https://api.example.com/v2/auth/providers/{provider_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"uses_pkce": true,
"code_challenge_method": "<string>"
}
'{
"id": "<string>",
"organization_id": "<string>",
"provider_id": "<string>",
"name": "<string>",
"client_id": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"uses_pkce": true,
"code_challenge_method": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider_type": "<string>",
"mcp_server_url": "<string>",
"token_endpoint_auth_method": "client_secret_post",
"is_dynamic_client": false
}Update an OAuth provider.
curl --request PATCH \
--url https://api.example.com/v2/auth/providers/{provider_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"uses_pkce": true,
"code_challenge_method": "<string>"
}
'{
"id": "<string>",
"organization_id": "<string>",
"provider_id": "<string>",
"name": "<string>",
"client_id": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"uses_pkce": true,
"code_challenge_method": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider_type": "<string>",
"mcp_server_url": "<string>",
"token_endpoint_auth_method": "client_secret_post",
"is_dynamic_client": false
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Response model for OAuth provider.
Was this page helpful?