Bulk Delete Store Email Templates
DELETE/api/store-email-templates
Bulk deletes multiple store email templates by ID array or current list view filters.
settings:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token.
Requires permission: email_templates.delete
Built-in templates: Built-in (system) email templates cannot be deleted. They are skipped (not deleted), counted as failures, and reported in warnings keyed ids.{id}.systemTemplate; the request returns 299 OK With Warning. If every selected template is built-in, nothing is deleted.
Request
Responses
- 200
- 299
- 401
- 403
- 429
OK
Response Headers
OK With Warning
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.