curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/organizations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"organizationName": "EdgeImpulse Inc.",
"adminId": 1,
"adminEmail": "jan@edgeimpulse.com"
}'
{
"success": true,
"error": "<string>",
"id": 123,
"apiKey": "<string>"
}
Create a new organization. This is an API only available to white label admins
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/organizations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"organizationName": "EdgeImpulse Inc.",
"adminId": 1,
"adminEmail": "jan@edgeimpulse.com"
}'
{
"success": true,
"error": "<string>",
"id": 123,
"apiKey": "<string>"
}
Organization ID
OK
The response is of type object
.