---
title: "Update WorkflowTaskSchema"
method: PATCH
path: "/api/v3/workflow-task-schema/{workflow_task_schema_id}"
tags: ["Workflow Task Schema"]
---

# Update WorkflowTaskSchema

`PATCH /api/v3/workflow-task-schema/{workflow_task_schema_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/workflow-task-schema/{workflow_task_schema_id}`
- Auth: HTTP bearer

Update WorkflowTaskSchema.

## Path parameters

- `workflow_task_schema_id` string, required

## Headers

- `EARLY-ACCESS` string

## Request body

- UpdateWorkflowTaskSchemaInput
  - `archiveReason` string: Why it is being archived. Required when `archived` is `true`, and not allowed when unarchiving.
  - `archived` boolean: Set to `true` to archive or `false` to unarchive it. Archiving requires `archiveReason`.
  - `canOnlyBePartOfFlowchart` boolean: Whether tasks of this schema can only exist as part of a flowchart.
  - `canSetAssigneeOnTaskCreation` boolean: Whether tasks of this schema can be created with a non-null assignee.
  - `defaultCreationFolderId` string, nullable: API ID of the default folder for creating workflow task groups.
  - `defaultEntryExecutionFolderId` string, nullable: API ID of the default folder for workflow task execution entries.
  - `defaultResponsiblePartyIds` string[]: API IDs of the default responsible parties for tasks of this schema.
  - `displayName` string: Deprecated. Use name instead.
  - `isPropagateWatchersEnabled` boolean: Whether watchers are propagated for tasks of this schema.
  - `name` string: Updated user-facing name. When provided, must be non-empty after stripping whitespace, at most 255 characters, and unique within the organization.
  - `prefix` string: The prefix for the displayId of tasks of this schema.
  - `systemName` string: Updated SQL identifier for the warehouse table name. When provided, must match the pattern [a-z_][a-z0-9_$]*, cannot be a reserved table name, cannot start with 'bnch$', and must be unique within the organization. Changing it requires warehouse table-name changes to be enabled for the caller; otherwise the update fails with a validation error. Supplying the schema's exact current system name always succeeds.
  - `taskGroupInstructions` string, nullable: The instructions for task groups of this schema.
  - `taskGroupPrefix` string: The prefix for the displayId of task groups containing tasks of this schema.
  - `workflowOutputSchema` UpdateWorkflowOutputSchemaInput
    - `prefix` string: The prefix for the displayId of workflow outputs of this schema.

## Response `200`

OK

- WorkflowTaskSchema: A configuration template that defines the structure and behavior of `WorkflowTask` instances. Each schema specifies an `executionType` (direct, entry, or flowchart) and custom `fieldDefinitions` for task data. Schemas belong to an `Organization` and can optionally reference an `entryTemplate` for entry-based execution. The `prefix` and `taskGroupPrefix` fields define the human-readable ID format for tasks and task groups. Default folders can be configured via `defaultCreationFolder` and `defaultEntryExecutionFolder`. Schemas support `responsibleParties` for default assignment. The associated `workflowOutputSchema` defines the structure of outputs produced by tasks of this schema.
  - `__typename` string
  - `archiveReason` string, nullable
  - `archived` boolean
  - `canOnlyBePartOfFlowchart` boolean
  - `canSetAssigneeOnTaskCreation` boolean: Whether or not tasks of this schema can be created with a non-null assignee.
  - `createdAt` string, datetime
  - `defaultCreationFolder` FolderRef
    - `__typename` string
    - `id` string, api_id
  - `defaultEntryExecutionFolder` FolderRef
    - `__typename` string
    - `id` string, api_id
  - `entryTemplate` EntryTemplateRef
    - `__typename` string
    - `id` string, api_id
  - `executionType` 'DIRECT' | 'ENTRY' | 'FLOWCHART' | 'PROCEDURE' | 'PROCEDURE_METHOD' | 'PROCEDURE_STEP' | 'PIPELINE': The method by which instances of this schema are executed
  - `fieldDefinitions` string, uri
  - `id` string
  - `isPropagateWatchersEnabled` boolean
  - `modifiedAt` string, datetime
  - `name` string
  - `organization` OrganizationRef
    - `__typename` string
    - `id` string, api_id
  - `prefix` string: The prefix for the displayId of tasks of this schema.
  - `systemName` string: A unique, stable identifier for this schema used for programmatic access and integrations.
  - `taskGroupInstructions` string, nullable: The instructions for task groups of this schema
  - `taskGroupPrefix` string: The prefix for the displayId of task groups containing tasks of this schema
  - `validationRules` string, uri
  - `workflowOutputSchema` WorkflowOutputSchemaRef
    - `__typename` string
    - `id` string, api_id

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/benchling/apis/benchling-api.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api/revisions/3873a10bf7b8?raw)
