Dids

Import a did (with optional did document).

If no did document is provided, the did will be resolved to fetch the did document.

post/dids/import

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /dids/import
  • Auth
    none declared

Headers

x-tenant-idstring

Optional header to set the context to a specific tenant. Only needed when the --multi-tenant feature is enabled. Default value is 'default'

Request body

didstring required
overwriteboolean

Whether to overwrite the existing did document and private keys

Response

Did imported successfully

Changes

    • info

      the endpoint scheme security tenants was removed from the API

    • info

      added the new optional header request parameter x-tenant-id

    • warning

      deleted the header request parameter x-tenant-id

    • info

      the endpoint scheme security tenants was added to the API