---
title: "Remove an actionlet from a workflow action"
method: DELETE
path: "/api/v1/workflow/actionlets/{actionletId}"
tags: ["Workflow"]
---

# Remove an actionlet from a workflow action

`DELETE /api/v1/workflow/actionlets/{actionletId}`

Removes an [actionlet](https://www.dotcms.com/docs/latest/workflow-sub-actions), or sub-action, from a [workflow action](https://www.dotcms.com/docs/latest/managing-workflows#Actions). This deletes only the actionlet's binding to the action utilizing it, and leaves the actionlet category intact.

To find the identifier, you can call `GET /workflow/actions/{actionId}/actionlets`.

Returns "Ok" on success.

## Path parameters

- `actionletId` string, required

## Response `200`

Workflow actionlet deleted from action successfully

- ResponseEntityStringView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `401` — Invalid User
- `403` — Forbidden
- `404` — Workflow action not found
- `406` — Not Acceptable
- `500` — Internal Server Error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
