v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-037389158.9 KB
UserService

CreateLinkedIdentity links an SSO identity to the authenticated user.

post/api/v1/users/{user}/linkedIdentities

Path parameters

userstring required

The user id.

Request body

parentstring required

Required. The parent user who owns the linked identity. Format: users/{user}

idpNamestring required

Required. The identity provider to link. Format: identity-providers/{idp}

codestring required

Required. The authorization code from the identity provider.

redirectUristring required

Required. The redirect URI used in the OAuth flow.

codeVerifierstring

Optional. The PKCE code verifier used in the OAuth flow.

Response

OK

namestring

The resource name of the linked identity. Format: users/{user}/linkedIdentities/{linked_identity}

idpNamestring

The resource name of the identity provider. Format: identity-providers/{idp}

externUidstring

The external user identifier from the identity provider.