---
title: "Delete a Workflow Delegation"
method: POST
path: "/workflowdelegationmanager.delete"
tags: ["Workflow Delegation"]
---

# Delete a Workflow Delegation

`POST /workflowdelegationmanager.delete`

Deletes a delegation and returns the deleted delegation details.
<!-- theme: info-->
>A delegation where `status` = `ACTIVATED` cannot be deleted. Only delegations that have not been activated yet (`startDate` is in the future) can be deleted. Use the **/workflowdelegationmanager.enddate** endpoint to terminate an activated workflow delegation.

## Request body

- object
  - `data` object, required
    - `typedId` string, required — The `typedId` of the delegation you want to delete.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` object[]
      - `version` number
      - `typedId` string
      - `uniqueName` string
      - `label` unknown
      - `sourceUserId` number
      - `sourceUser` string
      - `targetUserId` number
      - `targetUser` string
      - `status` string
      - `note` string
      - `createdByAdmin` boolean
      - `createDate` string
      - `createdBy` number
      - `lastUpdateDate` string
      - `lastUpdateBy` number
      - `startDate` string
      - `endDate` string
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
