---
title: "Update workflow status (admin)"
method: POST
path: "/v1/admin/workflows/{workflowId}/{action}"
tags: ["Admin"]
---

# Update workflow status (admin)

`POST /v1/admin/workflows/{workflowId}/{action}`

Change workflow status (publish, pause, resume, archive)

## Path parameters

- `workflowId` string, required
- `action` string, required

## Request body

- object

## Response `200`

OK

- AdminUpdateWorkflowStatusSuccessResponse
  - `code` integer
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/b3-fun/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3-fun/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3-fun/b3os-workflow-api/revisions/5a750a5a9596/schema)
