PATCH /v1/email-snippets/tenant/{id}
PATCH/v1/email-snippets/tenant/{id}
CodeMeta OS API endpoint.
Request Body
| Name | Typ | Beschreibung |
|---|
name | string | |
category | string | |
htmlContent | string | |
jsonContent | object | |
Pfad-Parameter
| Name | Typ | Beschreibung |
|---|
iderforderlich | string | |
Beispiel
curl -X PATCH https://api.codemeta-os.de/v1/email-snippets/tenant/{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 |