POST /v1/email-snippets/tenant
POST/v1/email-snippets/tenant
CodeMeta OS API endpoint.
Request body
| Naam | Type | Beschrijving |
|---|
namevereist | string | |
category | string | |
htmlContentvereist | string | |
jsonContentvereist | object | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/email-snippets/tenant \
-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.post({
"name": "string",
"category": "string",
"htmlContent": "string",
"jsonContent": null
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |