The POST /environments/{{envID}}/users/{{userID}}/linkedAccounts operation creates a linked account to an external identity provider for the user resource with the ID specified in the request URL.

This operation uses the application/ custom content type in the request header, and it must specify the identityProvider.Id and the externalId for the user account in the request body. The request body can also specify an optional list of user attributes to update during the account linking action.

Property Type Required? String Required
externalId String Required

See the Linked Accounts data model for full property descriptions.