Services

Add a DID service

Adds a DID Core service entry. type may be a string or an array of strings; serviceEndpoint may be a URI string, object, or array.

post/identifiers/{did}/services

Parameters

./common-components.yml#/components/parameters/CorrelationId — unresolved $ref

Request body

idstring required

Service identifier as it should appear in the DID document.

Example request

{
  "id": "svc-1",
  "type": "LinkedDomains",
  "serviceEndpoint": "https://example.com/service"
}

Response

DID service created successfully.

DidDocumentService required— unresolved $ref

Changes