Skip to main content

Delete an email template group.

DELETE/api/v1/email-template-groups/{email_template_group_id}email_templates:write

Hard delete. Its subgroups move up to its parent and its templates are ungrouped. Refused with 409 conflict when a subgroup would share a name with a sibling.

Scopeemail_templates:write
AsynchronousNo
MCP tooldelete_email_template_group
Portal permissionsdelete_email_template_groups

Parameters​

NameInTypeRequiredDescription
email_template_group_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Responses​

StatusDescriptionBody
204Done.
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.