MepMail Docs
Referência da APIEndpointsTemplatesId

Update a template

PATCH
/templates/{id}

Changes a template; the change is live immediately.

AuthorizationBearer <token>

An API key from the dashboard (ms_…), sent as Authorization: Bearer. A sending-only key reaches the /emails routes only.

In: header

Path Parameters

id*string

Template id or alias

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/templates/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "object": "template",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}