> ## Documentation Index
> Fetch the complete documentation index at: https://jetemail.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete an image

> Deletes the image. Returns 409 when a current template references the image unless force=true is supplied after confirmation.



## OpenAPI

````yaml /openapi.json delete /marketing/assets/{id}
openapi: 3.0.0
info:
  title: JetEmail API
  version: 1.0.0
  description: API documentation for JetEmail's transactional email service.
servers:
  - url: https://api.jetemail.com
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Email
    description: Send transactional email
  - name: Outbound
    description: 'Outbound sending: keys, SMTP users, domains, logs, suppression'
  - name: Inbound
    description: Inbound routing, domains and forward destinations
  - name: Marketing
    description: >-
      Marketing suite: templates, audiences, contacts, broadcasts, themes,
      assets
externalDocs:
  description: Download OpenAPI Specification
  url: /openapi.json
paths:
  /marketing/assets/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
    delete:
      tags:
        - Marketing
      summary: Delete an image
      description: >-
        Deletes the image. Returns 409 when a current template references the
        image unless force=true is supplied after confirmation.
      parameters:
        - name: force
          in: query
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: Deleted
        '404':
          description: Not found
        '409':
          description: Image is referenced by one or more templates
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: API key for account management endpoints. Use your api_ prefixed token.

````