Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Update email templates with zip file

Extracts given zip file to temporary templates folder. If the folder already exists it will replace it’s content

POST/api/2/email-templates
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Request body
application/zip
object
Responses
200

Templates has extracted

403

User is not a system admin

500

IOException happen or any unexpected exception is thrown

Try it
Server
Authorization
Bodyapplication/zip
Request
curl -X POST 'http://jira.example.com/rest/api/2/email-templates' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/zip' \
  -d '{}'
Response
Templates has extracted

Was this page helpful?