API Reference for Marketo Engage

Bulk Delete Email Templates

POST /rest/asset/v2/emailtemplate/bulk/delete

Deletes multiple email templates by their IDs in a single request. Maximum 20 assets per request.

Operation ID
bulkDeleteUsingPOST_emailtemplate
Permissions
Read-Write Assets, Access Design Studio, Delete Email Template
Request format
application/json
Returns
DeleteResponse, ErrorResponse

Parameters

Query 1

access_token string required

Token for Authorization

The Request Builder sends the token in the Authorization header instead, so it never appears in URLs.

Header 1

x-app-type string required

Application type header

Request body

application/json · required · BulkDeleteRequest · 2 properties

assetIds array of string required

Set of asset IDs to delete. Maximum 20 per request.

ignoreUsedBy boolean

If true, deletes assets even if they are referenced by other assets.

Responses

200 OK DeleteResponse
success boolean
requestId string
Generated example
{
  "success": true,
  "requestId": "123"
}
Default Error ErrorResponse
success boolean
requestId string
errors array of ContentWaveErrorDTO

Model ContentWaveErrorDTO

key string
message string
code string
dynamicMessage string
type string

Severity of the entry: info, warning, or error.

source string

Origin of the entry, e.g. validation, template, fragment, message_render, asset_publish.

errorMessage string
errorPosition object

Location in the content the entry refers to (for script/validation errors).

Generated example
{
  "success": true,
  "requestId": "123",
  "errors": [
    {
      "key": "string",
      "message": "string",
      "code": "string",
      "dynamicMessage": "string",
      "type": "string",
      "source": "string",
      "errorMessage": "string",
      "errorPosition": {
        "line": 123,
        "column": 123
      }
    }
  ]
}

Referenced models

Generated from swagger-asset.json. Generated examples are inferred from the schema; they are illustrative and may not be valid production payloads.

↑ ↓ to move, ↵ to open, esc to closeSee all results