List the provider accounts linked to a user
GET
The identity provider accounts a sign-in linked to the user, oldest first. The provider's subject and claims are never returned.
header
AuthorizationBearer <token>Scope: user.read
user_id*stringThe unique identifier of the user.
Match
^user_[a-zA-Z0-9_-]+$limit?integerMaximum number of items to return.
Range
1 <= value <= 100Default
20page_token?stringToken for fetching the next page of results.
Obtain this value from next_page_token in the previous response.
Omit to start from the beginning.
Its format is opaque and may change between releases.
The identity links of a user are returned
application/json- response
Response containing the provider accounts linked to the user.
identity_links*array<>next_page_token?|Token to pass as page_token in the next request to fetch the following page.
Absent when there are no more results.
Example Request
import { configureZitadel, getApi } from "@zitadel/api/config";// In the browser, through the SDK proxy: the session cookie authenticates the call.const client = getApi(configureZitadel({ projectId: "proj_01KWH1P4MYS7F0N9WD3P2E4YM5" }));const userIdentityLinks = await client.listUserIdentityLinks("user_01KWH3B72K7M7F0N9WD3P2E4YM");Example Response
{ "identity_links": [ { "id": "string", "connection_id": "string", "created_at": "2019-08-24T14:15:22Z" } ], "next_page_token": "string"}Was this helpful?