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