PATCH
/templates/{id}
Update Template
Compatibility endpoint to update template data.
Compatibility endpoint to update template data.
curl -X PATCH "http://localhost:8080/v1/templates/id_123" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"subject": "Updated template subject",
"text": "Updated template body"
}'
{
"id": "id_123"
}
{
"subject": "Updated template subject",
"text": "Updated template body"
}