/unmap
Unmapping removes an Identity Provider from a primary key as well as allowing you to optionally unlink your application from the user’s account with the provider.
It may be helpful to review the mappings call.
Read the Account Mapping Integration Guide to learn more.
URL
https://{yourdomain}.rpxnow.com/api/v2/unmap
Request
| Parameter | Required | Description |
|---|---|---|
apiKeystring | Yes | Your Janrain Engage apiKey, which you can find on the dashboard. |
identifierstring | Yes | The identifier currently mapped to the primaryKey. |
all_identifiersstring | Yes | Must be true or false, false is the default. If true, all identifiers mapped to the primaryKey are removed. |
primaryKeystring | Yes | The primary key from your users table, as a string. |
unlinkstring | Yes | Must be true or false, false is the default. If true, unlinks your application from the user’s account with the provider. Only Facebook is supported currently. |
formatstring | No | The format in which you want the response: either xml or json. If not specified, the response defaults to json. |
Example Response
This method has no specific response - It returns an empty success response if it completes without error.
{
"stat": "ok"
}
<?xml version='1.0' encoding='UTF-8'?> <rsp stat='ok'/>