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

Rename a folder (JSON Merge Patch).

PATCH/api/v1/folders/{folder_id}folders:write
注記

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

The paths of the folder and of everything beneath it change with the name. A name a sibling folder already has is 409 already_exists.

スコープfolders:write
非同期いいえ
MCP ツールupdate_folder
Portal の権限rename_folders

パラメーター​

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

リクエスト本文​

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

応答​

ステータス説明本文
200Success.application/json Folder または 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
409already_exists, conflictapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

Folder​

フィールド型必須説明
codestring必須
folder_idstring必須
has_childrenboolean必須Whether the folder has child folders the caller can see.
namestring必須
parent_folder_idstring または null必須null for a root folder
pathstring または null必須Current ancestor names joined by ->; null without View Folder Tree or current access to every ancestor.
projectobject または null必須The project the folder is mapped to; null when none, when the caller cannot see it, or without projects:read and View Projects.

FolderPatchInput​

フィールド型必須説明
codestring または null任意
folder_idstring または null任意
has_childrenboolean または null任意
namestring または null任意
parent_folder_idstring または null任意
pathstring または null任意
projectobject または null任意