---
title: "update the config of a workflow"
method: POST
path: "/api/v1/workflow/config/update"
---

# update the config of a workflow

`POST /api/v1/workflow/config/update`

## Request body

- WorkflowConfigUpdateRequest
  - `workflowId` string, required
  - `workflowRunId` string
  - `workflowConfig` WorkflowConfig, required
    - `disableSystemSearchAttribute` boolean
    - `executingStateIdMode` 'ENABLED_FOR_ALL' | 'ENABLED_FOR_STATES_WITH_WAIT_UNTIL' | 'DISABLED'
    - `continueAsNewThreshold` integer
    - `continueAsNewPageSizeInBytes` integer
    - `optimizeActivity` boolean
    - `optimizeTimer` boolean

## Response `200`

successful operation

## Other responses

- `400` — Invalid input

---

[API](https://skmtc.net/indeedeng/apis/workflow-apis.md) · [All operations](https://skmtc.net/indeedeng/apis/workflow-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/indeedeng/workflow-apis/versions/fe9c7606824c/schema)
