Skip to main content
DELETE
/
templates
/
{slug}
Delete template
import requests

url = "https://api.pdfshift.io/v3/templates/{slug}"

headers = {"X-API-Key": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "success": true
}

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Path Parameters

slug
string
required

Response

Template deleted

success
boolean