Delete Custom Error Template
Permanently remove a custom error template. If the template was active, Ngris reverts to serving the default page for that type immediately. The delete is scoped to the caller's account — a 404 / silent no-op is returned if the ID isn't owned by the caller.
Path params
Response (204 No Content)
Empty body on success.
Errors
400 Bad Request
id is not a positive integer.401 Unauthorized
Missing or invalid auth.
Request
curl -X DELETE "https://api.ngris.com/v1/templates/42" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client.templates.delete(42)
Response — 204 No Content
(empty body)