light-mode-image
Learn
MATTR VII PlatformDIDs

Delete a DID

Deletes a DID and all associated metadata by providing its URI. This includes all the removal of all associated private keys from the Key Management System (KMS). â„šī¸ Note: For did:web you will need to manually remove the did.json from your hosted domain.

Analytics Events

DID_DELETE_STARTDID_DELETE_SUCCESSDID_DELETE_FAIL

Roles

adminissuerverifierdts-provider
DELETE/v1/dids/{id}
AuthorizationBearer <token>

In: header

Path Parameters

idstring

DID

Formatdid

Response Body

curl -X DELETE "https://example.vii.au01.mattr.global/v1/dids/did:key:z6Mkjr7vfzBfamiN6Wi6cyQUgTq6CEMXP1MzWQawsUEXJoa9"
Empty
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?