---
title: "DELETE /ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}"
method: DELETE
path: "/ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}"
tags: ["Workflow"]
---

# DELETE /ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}

`DELETE /ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/WorkflowService.svc/workflows/:workflowIdOrUniqueId/delete.ts> (a function with typed inputs; its response is checked against the schema)

envianceSdk.workflows.deleteWorkflow
```
[
  "eccd2310-9b5f-440b-bf0d-91f9803d036b",
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.deleteWorkflowExt
```
[
  {
    "workflowIdOrUniqueId": "eccd2310-9b5f-440b-bf0d-91f9803d036b",
    "clientRequestId": "64AA5290-15F2-451B-9EF3-4494F66FE59E"
  },
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.deleteWorkflows
```
[
  [
    "wfid1",
    "wfid2"
  ],
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.deleteWorkflowType
```
[
  "workflowTypeIdOrName",
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.deleteWorkflowTypeBulk
```
[
  [
    "workflowTypeIdOrName1",
    "workflowTypeIdOrName2",
    "workflowTypeIdOrName3"
  ],
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.deleteWorkflowRole
```
[
  "276067c5-1316-433d-9943-86475ed8fed4",
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.deleteWorkflowRoleAsync
```
[
  "276067c5-1316-433d-9943-86475ed8fed4",
  "onsuccess",
  "onerror"
]
```

## Path parameters

- `workflowIdOrUniqueId` string, required

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Response `default`

not available

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
