POST /v1/email-snippets/tenant
POST/v1/email-snippets/tenant
CodeMeta OS API endpoint.
Corps de la requête
| Nom | Type | Description |
|---|
nameobligatoire | string | |
category | string | |
htmlContentobligatoire | string | |
jsonContentobligatoire | object | |
Exemple
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
});
Codes de réponse
| HTTP |
Signification |
200 |
Default Response |