POST /v1/portal/users/invite
POST/v1/portal/users/invite
CodeMeta OS API endpoint.
Request body
| Naam | Type | Beschrijving |
|---|
organizationPartyIdvereist | string | |
firstNamevereist | string | |
lastNamevereist | string | |
emailvereist | string<email> | |
shopRoleId | stringnull | |
message | string | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/portal/users/invite \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"organizationPartyId": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"shopRoleId": null,
"message": "string"
}'
const result = await cm.portal.post({
"organizationPartyId": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"shopRoleId": null,
"message": "string"
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |