curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/projects/{projectId}/members \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"usernameOrEmail": "janjongboom"
}'
{
"success": true,
"error": "<string>"
}
White label admin only API to add a user to a project. If no user is provided, the current user is used.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/projects/{projectId}/members \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"usernameOrEmail": "janjongboom"
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.