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).
For did:web you will need to manually remove the did.json from your hosted domain.
Analytic events
- DID_DELETE_START
- DID_DELETE_SUCCESS
- DID_DELETE_FAIL
DELETE
/v1/dids/{id}Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
DID
Format
didResponse Body
application/json
application/json
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?