customers
Archive a claim
Changed onArchives one of the person's claims: it no longer applies. Its versions are kept, and a later value of the same type starts a new claim. A claim a person of its type must have cannot be archived (400). Send based_on to have it refused with 409 when the claim has moved on.
delete/persons/{person_id}/claims/{claim_id}
Request
- Base URLhttps://api.joinsophic.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
person_idstring required
The ID of the person.
claim_idstring required
The ID of the claim.
Query parameters
based_oninteger nullable
The version number you read.
Response
OK
Example response
{
"latest_verified_version": {
"number": 2
},
"latest_version": {
"number": 2
},
"versions": [
{
"number": 2
}
]
}Changes
- info
endpoint added
- info