Read One Linked Account

GET {{apiPath}}/environments/{{envID}}/users/{{userID}}/linkedAccounts/{{linkedAccountID}}

A linked account is the connection between a user and an external identity provider. To get information about one linked account associated with a single user resource, the GET /environments/{{envID}}/users/{{userID}}/linkedAccounts/{{linkedAccountID}} operation returns the linked account information for the linked account resource specified in the request URL. This request also supports the expand=identityProviders filter to show details about the external identity provider associated with this linked account resource.

Important: Users who authenticate with an authoritative identity provider cannot self-service read their linked accounts. Their user.identityProvider.id attribute is not null and their user.identityProvider.type attribute is not PING_ONE.

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/users/b7b3bdd6-a3aa-423f-9921-7f8ce13003d0/linkedAccounts/92713768-50f5-4c7a-829f-865c4820d201"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"user":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/users/b7b3bdd6-a3aa-423f-9921-7f8ce13003d0"}},"id":"92713768-50f5-4c7a-829f-865c4820d201","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"user":{"id":"b7b3bdd6-a3aa-423f-9921-7f8ce13003d0"},"identityProvider":{"id":"550d3bdf-554b-4f9d-8825-ece15308673d"},"externalId":"127152908468744"}