メインコンテンツまでスキップ

Rename a workflow (JSON Merge Patch).

PATCH/api/v1/workflows/{workflow_id}workflows:manage
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Changes the subject of a workflow you may see. If-Match compares the workflow's stored columns.

スコープworkflows:manage
非同期いいえ
MCP ツールupdate_workflow
Portal の権限rename_workflows

パラメーター​

名前場所型必須説明
workflow_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonWorkflowPatchInput
application/merge-patch+jsonWorkflowPatchInput

応答​

ステータス説明本文
200Success.application/json Workflow または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

UserRefInput​

フィールド型必須説明
display_namestring任意
kindstring: user, system, integration任意
user_idstring または null任意

Workflow​

フィールド型必須説明
due_atstring (date-time) または null必須
is_cancelledboolean必須
is_completedboolean必須
open_action_countinteger必須≥ -2147483648; ≤ 2147483647
open_action_count_for_meinteger必須≥ -2147483648; ≤ 2147483647
recipientsWorkflowRecipient の配列必須Who the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them.
started_atstring (date-time) または null必須
started_byUserRef必須
statusstring必須cancelled, failed, in_progress, completed or pending (open enum).
subjectstring必須
template_namestring または null必須
workflow_idstring必須
workflow_template_version_idstring または null必須The version of the template the workflow runs.

WorkflowPatchInput​

フィールド型必須説明
due_atstring (date-time) または null または null任意
is_cancelledboolean または null任意
is_completedboolean または null任意
open_action_countinteger または null任意
open_action_count_for_meinteger または null任意
recipientsWorkflowRecipientInput の配列 または null任意
started_atstring (date-time) または null または null任意
started_byUserRefInput または null任意
statusstring または null任意
subjectstring または null任意
template_namestring または null または null任意
workflow_idstring または null任意
workflow_template_version_idstring または null または null任意

WorkflowRecipient​

フィールド型必須説明
group_idstring または null必須
typestring必須user, group or unknown (open enum).
type_codestring または null必須The stored type code, for an unknown recipient type; null otherwise.
userUserRef または null必須

WorkflowRecipientInput​

フィールド型必須説明
group_idstring または null任意
typestring任意user, group or unknown (open enum).
type_codestring または null任意The stored type code, for an unknown recipient type; null otherwise.
userUserRefInput または null任意