Delete a workflow vault binding
Remove the vault assignment from this saved workflow without deleting the vault or its secrets. Obtain aliases from automation.workflows.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.
DELETE /automation/v1/workflows/{namespace}/{name}/vaults/{alias}
Authentication
Authorization: Bearer $PRAXIS_API_KEY
Request fields
| Parameter | Type | Description |
|---|---|---|
| path: namespace | string |
required; Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions. |
| path: name | string |
required; Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow. |
| path: alias | string |
required; Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter. pattern: "^[a-z][a-z0-9-]{0,39}$" |
Examples
Set these environment variables to your own resources:
| Variable | Source |
|---|---|
| WORKFLOW_NAME | name returned by creating a workflow |
: "${WORKFLOW_NAME:?Set WORKFLOW_NAME}"
curl --fail-with-body -X DELETE "https://api.deepraxis.com/automation/v1/workflows/{namespace}/${WORKFLOW_NAME}/vaults/sample" \
-H "Authorization: Bearer $PRAXIS_API_KEY"
import { createAutomationClient } from '@deepraxis/sdk/automation';
function env(name: string): string {
const value = process.env[name];
if (!value) throw new Error(`Set ${name}`);
return value;
}
const automation = createAutomationClient({
apiKey: env('PRAXIS_API_KEY'),
baseUrl: 'https://api.deepraxis.com',
maxRetries: 0,
timeoutMs: 90_000,
});
const result = await automation.workflows.vaults.delete({
"path": {
"ns": "docs-samples",
"name": env("WORKFLOW_NAME"),
"alias": "sample"
}
});
console.log(result);
Response
HTTP 204
Binding removed or already absent; no response body.
Measured response
HTTP 204
Errors
| HTTP | Codes and description |
|---|---|
| 400 | INVALID_PARAMS: Invalid request parameters, path, cursor, or body format. |
| 404 | TARGET_NOT_FOUND: The target does not exist or has an incompatible type. |
| default | Automation problem; inspect the refusal code and diagnostics before retrying. |
Authentication and common errors · Retain the X-Request-Id response header for troubleshooting.