---
title: "Delete email template attachment"
method: DELETE
path: "/email/1/templates/{templateId}/attachments/{attachmentId}"
tags: ["channels", "email", "email-templates"]
---

# Delete email template attachment

`DELETE /email/1/templates/{templateId}/attachments/{attachmentId}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/email/1/templates/{templateId}/attachments/{attachmentId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Removes a specific attachment from an email template.

## Path parameters

- `attachmentId` string, required
- `templateId` integer, required

## Response `204`

No content

- object

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
