Delete Linked Account

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

A linked account is the connection between a user and an external identity provider. The following sample shows the DELETE /environments/{{envID}}/users/{{userID}}/linkedAccounts/{{linkedAccountID}} operation to delete the linked account specified by its ID in the request URL. The linked account is deleted for the user identified in the request URL.

When successful, the DELETE request returns a code 204 No Content message.

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