API & Integration -> API Reference

Delete a template

This endpoint deletes a template you no longer need from your project.

API endpoint

Send a DELETE request to the following endpoint using your project's API key, passing the template ID as a parameter:

curl -X DELETE https://api.creatomate.com/v2/templates/TEMPLATE_ID \
     -H "Authorization: Bearer YOUR_API_KEY_HERE"

Response

When the template is deleted, the endpoint responds with 204 No Content and an empty body. Renders you have already created from the template are not affected.

If no template with the specified ID exists in your project, the API responds with 404 Not Found.