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

Update email templates with previously uploaded pack

Replaces the current email templates pack with previously uploaded one, if exists.

POST/api/2/email-templates/apply
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.

Responses
200

Templates were replaced

400

There were no templates previously uploaded

500

Exception happened during applying process

Try it
Server
Authorization
Request
curl -X POST 'http://jira.example.com/rest/api/2/email-templates/apply' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Templates were replaced

Was this page helpful?