Add Service Dependency

To link one service to another, call the /dependencies/add endpoint and specify the service you want to attach as a dependency. For details on which dependency services are supported, refer to the documentation page of the service you are configuring.

Attach dependency (DID Service example)

CURL

Endpoint: /v1/{target}/did-service-api/dependencies/add | API Reference

Example Request

curl -X 'POST' \
  'https://{orgHost}.enterprise-sandbox.waltid.dev/v1/{target}/did-service-api/dependencies/add' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer {yourToken}' \
  -H 'Content-Type: application/json' \
  -d 'test.tenant1.did-store-1'

Path Parameters

  • orgHost: String - Organization host alias to call against. When you are working in the sandbox organization test, the base URL becomes https://test.enterprise-sandbox.waltid.dev.
  • target: resourceIdentifier - Full path to the DID service you want to update, following {organization}.{tenant}.{serviceId}. For example, test.tenant1.did-service-1.

Body Parameters

  • dependency: String - JSON string containing the fully-qualified path of the service to link (for example test.tenant1.did-store-1). The referenced service must already exist and be accessible in the same org.

Response Codes

  • 201 – Dependency attached successfully.
  • 400 – Invalid path or dependency cannot be added.
  • 401/403 – Authentication or authorization failure.
Last updated on December 3, 2025