Delete Service
When you need to delete a service (and optionally everything underneath it), you can use the resource-api/resources/delete or /resource-api/resources/delete-recursive endpoints.
Delete a Service
CURL
Endpoint: /v1/{target}/resource-api/resources/delete | API Reference
Example Request
curl -X 'DELETE' \
'https://{orgHost}.enterprise-sandbox.waltid.dev/v1/{target}/resource-api/resources/delete' \
-H 'accept: */*' \
-H 'Authorization: Bearer {yourToken}'
Path Parameters
orgID: Use the organization’s base URL / host alias (e.g.,test.enterprise-sandbox.waltid.devin sandbox).target: resourceIdentifier – Fully qualified service path ({organizationID}.{tenantID}.{serviceId}), e.g.,test.sandbox.kms-eu.
Response Codes
202The resource was deleted.401Invalid authentication
Use /resource-api/resources/delete-recursive if you need to cascade the removal to nested resources (for example, wiping stored keys when deleting a KMS). The request/response shape stays the same; only the endpoint path changes.
Last updated on December 3, 2025
