Box Developer Documentation
Latest version

Delete Box Doc Gen template

delete
https://api.box.com/2.0
/docgen_templates/:template_id

Unmarks file as Box Doc Gen template

Request

bearer [ACCESS_TOKEN]
application/json

Request Headers

stringin headerrequired

Version header

Value is always 2025.0

Path Parameters

stringin pathrequired
123

ID of the file which will no longer be marked as a Box Doc Gen template.

Response

none

Returns an empty response when a file is no longer marked as a Box Doc Gen template.

application/jsonClient error

The server cannot or will not process the request due to an apparent client error.

application/jsonClient error

The client does not have access rights to the content or resource requested.

application/jsonClient error

Returned if the template is not found or the user does not have access to the associated template.

application/jsonClient error

The user has sent too many requests in a given amount of time.

application/jsonClient error

An unexpected condition was encountered on the server.

delete
Delete Box Doc Gen template
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -L -X DELETE 'https://api.box.com/2.0/docgen_templates/12345678' \
     -H 'box-version: 2025.0' \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'