Remove Service Dependency

Call /dependencies/remove to detach a dependency service from the current service.

Detach dependency (DID Service example)

CURL

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

Example Request

curl -X 'POST' \
  'https://{orgHost}.enterprise-sandbox.waltid.dev/v1/{target}/did-service-api/dependencies/remove' \
  -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 dependency you want to detach (for example test.tenant1.did-store-1).

Response Codes

  • 204 – Dependency detached successfully.
  • 400 – Invalid path or dependency does not exist.
  • 401/403 – Authentication or authorization failure.
Last updated on December 3, 2025