メインコンテンツへスキップ
DELETE
/
docgen_templates
/
{template_id}
cURL
curl -L -X DELETE 'https://api.box.com/2.0/docgen_templates/12345678' \
     -H 'box-version: 2025.0' \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
{
  "type": "error",
  "status": 400,
  "code": "item_name_invalid",
  "message": "Method Not Allowed",
  "context_info": {
    "message": "Something went wrong"
  },
  "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/",
  "request_id": "abcdef123456"
}
Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

box-version
enum<string>
required

Version header.

利用可能なオプション:
2025.0

Path Parameters

template_id
string
required

Box Doc Genテンプレートの設定が解除されるファイルのID。

Response

ファイルのBox Doc Genテンプレートの設定が解除された場合に空のレスポンスを返します。