Templates

Flush templates

Delete all stored templates for an account

delete/v1/templates/account/{account}

Request

  • Base URL: https://your-emailengine-host
  • URL: https://your-emailengine-host/v1/templates/account/{account}
  • Auth: HTTP bearer

Path parameters

accountstring required

Unique identifier for the email account

Example:user123

Query parameters

forceboolean

Must be true in order to flush templates

Headers

x-ee-timeoutinteger

Request timeout in milliseconds. Raises the command timeout above the EENGINE_TIMEOUT default for a long-running request; a value below the default has no effect

Example:30000

Response

Returns the number of templates removed.

flushedboolean

Were the templates flushed

accountstring required

Unique identifier for the email account

Example response

{
  "account": "user123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.