Dids
Replace a DID
Replaces the mutable declarative fields of a DID in one request. Collections in the body are full replacement sets. Verification methods and key mappings are intentionally managed through their dedicated sub-resource endpoints.
put/identifiers/{did}
Parameters
./common-components.yml#/components/parameters/CorrelationId — unresolved $ref
Request body
Example request
{
"alias": "acme-issuer",
"controllers": [
"did:web:controller-a.example.com"
],
"alsoKnownAs": [
"https://acme.example.com/about"
],
"equivalentIds": [
"did:web:acme.example.com"
],
"contexts": [
"https://www.w3.org/ns/did/v1"
],
"canonicalId": "did:web:enterprise.example.com",
"deactivated": false,
"services": [
{
"id": "svc-linked-domains",
"type": "LinkedDomains",
"serviceEndpoint": "https://example.com"
}
],
"relationships": [
{
"purpose": "assertionMethod",
"verificationMethodId": "#key-1"
}
]
}Response
DID replaced successfully.
Did required— unresolved $ref