Stop sharing one link
const options = {method: 'POST'};
fetch('https://ownsi.dev/api/claims/{id}/proof_links/{slug}/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://ownsi.dev/api/claims/{id}/proof_links/{slug}/revoke{
"slug": "<string>",
"url": "<string>",
"claimId": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"heldBy": "<string>",
"token": "<string>",
"challengeHost": "<string>",
"provider": "<string>",
"provedAt": "<string>",
"standing": "live",
"issuedAt": "<string>",
"revokedAt": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Stop sharing one link
The slug stops resolving from here on. It retracts nothing: the proof keeps its date, and any other link to it keeps working.
POST
/
api
/
claims
/
{id}
/
proof_links
/
{slug}
/
revoke
Stop sharing one link
const options = {method: 'POST'};
fetch('https://ownsi.dev/api/claims/{id}/proof_links/{slug}/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://ownsi.dev/api/claims/{id}/proof_links/{slug}/revoke{
"slug": "<string>",
"url": "<string>",
"claimId": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"heldBy": "<string>",
"token": "<string>",
"challengeHost": "<string>",
"provider": "<string>",
"provedAt": "<string>",
"standing": "live",
"issuedAt": "<string>",
"revokedAt": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Response
Response for status 200
Available options:
live, revoked