POST /v1/portal/users/invite
POST/v1/portal/users/invite
CodeMeta OS API endpoint.
Request body
| Name | Type | Description |
|---|
organizationPartyIdrequired | string | |
firstNamerequired | string | |
lastNamerequired | string | |
emailrequired | string<email> | |
shopRoleId | stringnull | |
message | string | |
Example
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"
});
Response codes
| HTTP |
Meaning |
200 |
Default Response |