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

Delete a document template (soft).

DELETE/api/v1/document-templates/{document_template_id}document_templates:write
注記

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

Refused with 409 in_use while workflow templates or records use the template: those the caller can read are named, the rest counted. permanent=true removes the template for good instead (a deleted ID is then 404); it is only for a template whose document no longer exists, and answers 409 conflict while the document is there. permanent=true also needs Permanently Delete Document Templates.

スコープdocument_templates:write
非同期いいえ
MCP ツールdelete_document_template
Portal の権限delete_document_templates

パラメーター​

名前場所型必須説明
document_template_idpathstring必須
permanentqueryboolean または null任意Remove the template for good instead of marking it deleted. Only for a template whose document no longer exists.
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

応答​

ステータス説明本文
204Done.
400invalid_versionapplication/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
409conflict, in_useapplication/problem+json Problem
412precondition_failedapplication/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 のコードです。各コードからそのページに移動できます。