API reference
Erase API
POST /credibility/erase: delete everything isCredible holds about one of your users.
POST https://api.iscredible.com/v1/credibility/eraseDeletes the history and verification records isCredible holds about one of your end-users, for example when they ask you to delete their data. Only your account's data is affected.
Body#
Send any of the identifiers you used in verify calls:
| Field | Type |
|---|---|
email | string |
phone | string |
deviceId | string |
userId | string |
ip | string |
curl https://api.iscredible.com/v1/credibility/erase \
-H "x-api-key: $ISCREDIBLE_API_KEY" \
-H "content-type: application/json" \
-d '{ "email": "jane@example.com", "userId": "user_42" }'Response#
{ "erased": { "historyRecords": 14, "verifications": 3 }, "message": "All matching data for this end-user was deleted." }Afterwards the user is treated as new: past activity no longer affects their decisions.