Remove a social login provider from a user profile

Removes a social login identity provider from a user account. see Map social login accounts for more information.

Accepted content types

  • application/x-www-form-urlencoded
  • multipart/form-data


This operation uses your social login API key for authentication. This key can be found on the Settings page of the Social Login dashboard. See Get started for more information.

Base URL

The base URL for this operation is your application domain followed by /api/v2; for example:

You can find your application domain in the Social Login dashbaord on the Settings page:

Example request

This command removes the social login provider with the identifier form a user account.

curl -X POST \
  --data-urlencode apiKey=1234567891234567891234567891234567891234 \
  --data-urlencode identifier="" \
  --data-urlencode all_identifiers=true \
  --data-urlencode primaryKey=12 \
  --data-urlencode unlink=true \

Example response

If your API call succeeds the response consists of the status ok.

  "stat": "ok"


Parameters can be configured as x-www-form-urlencoded or as multipart/form-data body parameters.

apiKeystringSocial login secret for authenticating the operation. To verify your API key, log in to Console and, on the Manage Application page, check the value of the rpx_key setting. This value also appears on the Settings page in the Social Login dashboard.
identifierstringSocial login identifier you're removing from the user account. Use this member to remove a single social login identity provider from an account.

You need to include either the identifier or the all_identifiers member in your operation.
all_identifiersbooleanIf true, the operation removes all the social login identifiers mapped to the primary key. If false, the operation only removes the specified identifier. Removing all the identifiers means removing all the social login identity providers for the user.

You need to include either the identifier or the all_identifiers member in your operation.
primaryKeyintegerIndex number of the attribute.