POST /v1/invitations
POST/v1/invitations
CodeMeta OS API endpoint.
Request body
| Naam | Type | Beschrijving |
|---|
emailvereist | string<email> | |
rolevereist | string | |
message | string | |
partyIds | string[] | |
partyAssignments | object[] | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/invitations \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"email": "string",
"role": "string",
"message": "string",
"partyIds": [],
"partyAssignments": []
}'
const result = await cm.invitations.post({
"email": "string",
"role": "string",
"message": "string",
"partyIds": [],
"partyAssignments": []
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |