0

I want to do a curl command (PUT) to update a mailjet template's html content with the mailjet API but I do not want to publish it. Just as a draft, but right now every update is being published.

curl -s -X PUT --user "public_key:private_key"
https://api.mailjet.com/v3/REST/template/template_id/detailcontent 
-H 'Content-Type: application/json' 
-d '{"Html-part": "${{ steps.vars.outputs.customer_invitation }}", 
     "Text-part": "${{ steps.vars.outputs.customer_invitation_text }}", 
     "Headers": ""}'

0 Answers0