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

Rename a project type.

PATCH/api/v1/project-types/{project_type_id}lookup_lists:write
注記

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

Needs the corresponding granular project type capability. Refused when projects hold the current name, unless update_records=true, which changes them too (queued after the rename).

スコープlookup_lists:write
非同期いいえ
MCP ツールupdate_project_type
Portal の権限edit_project_types

パラメーター​

名前場所型必須説明
project_type_idpathstring必須
update_recordsqueryboolean または null任意true also changes the records that hold the current name to the new one, queued as a bulk job after the rename commits. Needed when any record holds it.
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

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

応答​

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

スキーマ​

ProjectType​

フィールド型必須説明
namestring必須
project_type_idstring必須

ProjectTypePatchInput​

フィールド型必須説明
namestring または null任意
project_type_idstring または null任意