Delete template

delete/v1/template/delete

Deletes a template from your account based on the template id you have provided.

Code snippet

curl -X 'DELETE' \
  'https://api.boldsign.com/v1/template/delete?templateId=1b18b34d-aaae-4df8-aa8f-a93cda34379a' \
  -H 'accept: */*' \
  -H 'X-API-KEY: {your API key}'
var apiClient = new ApiClient("https://api.boldsign.com", "API-KEY");

var templateClient = new TemplateClient(apiClient);

templateClient.DeleteTemplate("1b18b34d-aaae-4df8-aa8f-a93cda34379a");
import requests
url = "https://api.boldsign.com/v1/template/delete?templateId=1b18b34d-aaae-4df8-aa8f-a93cda34379a"
payload={}
headers = {
  'accept': '*/*',
  'X-API-KEY': '<API-KEY>'
}

response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios'); 
const response = await axios.delete('https://api.boldsign.com/v1/template/delete', { 
    params: { 
        'templateId': '{Paste your template ID}' 
    }, 
    headers: { 
        'accept': '*/*', 
        'X-API-KEY': '<API-KEY>' 
    } 
}); 

Query parameters

Heading1Heading2
templateIdstringRequiredThe ID of the template to delete.

Example response

204 No Content