---
ai:
  exclude: true
search:
  tags:
    - email-templates
    - POST
seo:
  description: >-
    Extracts given zip file to temporary templates… Reference for the POST
    /api/2/email-templates endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Update email templates with zip file
  badge: POST
title: Update email templates with zip file
type: openapi-operation
---
Extracts given zip file to temporary templates folder. If the folder already exists it will replace it's content

`POST /api/2/email-templates`

**Request body** (`application/zip`)

Request body example:

```json
{}
```

**Responses**

- `200` — Templates has extracted
- `403` — User is not a system admin
- `500` — IOException happen or any unexpected exception is thrown
