---
title: "Remove a workflow action from a step"
method: DELETE
path: "/api/v1/workflow/steps/{stepId}/actions/{actionId}"
tags: ["Workflow"]
---

# Remove a workflow action from a step

`DELETE /api/v1/workflow/steps/{stepId}/actions/{actionId}`

Deletes an [action](https://www.dotcms.com/docs/latest/managing-workflows#Actions) from a single [workflow step](https://www.dotcms.com/docs/latest/managing-workflows#Steps).

Returns "Ok" on success.

If the action exists on other steps, removing it from one step will not delete the action outright.

## Path parameters

- `actionId` string, required
- `stepId` string, required

## Response `200`

Workflow action removed from step 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/anzworldline-solutions/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anzworldline-solutions/dotcms-rest-api/revisions/0f38cbc3bd36/schema)
