Skip to main content
PUT
Link your identity provider

Authorizations

X-Api-Key
string
header
required

Personal or workspace LangSmith API key. Personal keys identify the user. Workspace keys are limited to server listing and MCP calls and must also supply the end user's OIDC token or X-LangSmith-Identity.

X-Tenant-Id
string
header
required

Workspace UUID. This header selects a workspace; it does not authenticate the caller.

Body

application/json

The identity provider whose access tokens can authenticate MCP calls.

identity_provider_id
string<uuid>
required

ID of an enabled OIDC integration in this workspace.

Response

OK

The identity provider whose access tokens can authenticate MCP calls. Both fields are null when none is linked.

identity_provider_id
string<uuid> | null

ID of the linked identity provider.

updated_at
string<date-time> | null

When the link last changed.