POST /v1/webspaces/{id}/email-accounts/{eid}/aliases
POST/v1/webspaces/{id}/email-accounts/{eid}/aliases
Create an alias for an email account
Datamodel
Deze operatie werkt op de entiteit webspace (webspace). Alle 32 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.
Request body
| Naam | Type | Beschrijving |
|---|
aliasvereist | string | |
tags | string[] | |
Padparameters
| Naam | Type | Beschrijving |
|---|
idvereist | string | |
eidvereist | string | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/webspaces/{id}/email-accounts/{eid}/aliases \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"alias": "string",
"tags": []
}'
const result = await cm.webspaces.post({
"alias": "string",
"tags": []
});
Antwoordcodes
| HTTP |
Betekenis |
201 |
Default Response |