Delete attestation

From any wallet

  • Create a new request with the Method DELETE and the value {{base_URL}}/attestations

  • Rename this request "Delete attestation"

  • Get the list of the attestations stored in the wallet GET/attestations

[
    {
        "issuanceDate": "2024-02-26T10:21:45.864Z",
        "issuer": {
                "did": "Gjr2SvNwhHe3ZhmUNjKqHT"
     },
        "status": "valid",
        "deliveryState": "accepted",
        "id": "a9cfb5f8-4104-48b7-a378-ac880b5f6ff8",
        "schema": {
            "did": "5gP2EpQA2dtHMRtAxvXRK7:2:Age attestation:1.0",
            "name": "Age attestation",
            "icon": "https://connect-prod.s3.fr-par.scw.cloud/icons/attestations/wallet/age.svg"
        },
        "attributes": {
            "over18": "true",
            "over15": "true",
            "over13": "true"
        },
        "source": "Yoti"
    }
]
  • In our example, the attestation ID is "a9cfb5f8-4104-48b7-a378-ac880b5f6ff8"

  • In the path, add ":attestationID". {{base_URL}}/attestations/:attestationID

  • In the Params tab you will see a new section "Path Variables". Set the value for the Key "attestationID" by copying the attestation ID

  • Save the request and click SEND

Dernière mise à jour