---
title: "Update a workflow scheme"
method: PUT
path: "/api/v1/workflow/schemes/{schemeId}"
tags: ["Workflow"]
---

# Update a workflow scheme

`PUT /api/v1/workflow/schemes/{schemeId}`

Updates a [workflow scheme](https://www.dotcms.com/docs/latest/managing-workflows#Schemes).

Returns updated scheme on success.

## Path parameters

- `schemeId` string, required

## Request body

- WorkflowSchemeForm
  - `schemeName` string, required
  - `schemeDescription` string
  - `schemeArchived` boolean

## Response `200`

Updated workflow scheme 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

- `400` — Bad request
- `401` — Invalid User
- `403` — Forbidden
- `404` — Workflow scheme not found.
- `406` — Not Acceptable
- `415` — Unsupported Media Type
- `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)
