[Webinar] Zoho Writer for the manufacturing industry. Register Now

Skip to main content

Delete Template

Purpose 

To delete the unwanted templates from the template list.

HTTP Request URL

https://{zohoapis_domain}/writer/api/v1/templates/{{template_id}}/delete

Path Parameters

ParameterData TypeDescription
Mandatory Parameter
template_idStringSpecify the unique id for the template that needs to be deleted.

Sample Request

Copiedcurl "https://www.zohoapis.com/writer/api/v1/templates/4gfw6d78sg5a9c17c418b822ad813d4376d10/delete"
-X DELETE
-H "Authorization: Zoho-oauthtoken xyz"

Sample Response

Copied{
    "deleted_by": {
        "email_id": "amelia@zohocorp.com",
        "profile_photo": "https://contacts.zoho.com/file?t=user&ID=1247393&fs=thumb",
        "user_id": "1247393",
        "timezone": "Asia/Kolkata",
        "language": "en",
        "display_name": "Amelia"
    },
    "message": "Template has been deleted successfully."
}