API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

PATCH /v1/email-snippets/{id}

PATCH/v1/email-snippets/{id}

CodeMeta OS API endpoint.

Request Body

NameTypBeschreibung
namestring
categorystring
htmlContentstring
jsonContentobject

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

curl -X PATCH https://api.codemeta-os.de/v1/email-snippets/{id} \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "name": "string",
  "category": "string",
  "htmlContent": "string",
  "jsonContent": null
}'
const result = await cm.email-snippets.patch({
  "name": "string",
  "category": "string",
  "htmlContent": "string",
  "jsonContent": null
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche