POST
/
api
/
organizations
/
{organizationId}
/
whitelabel
/
organizations
White Label Admin - Create new organization within white label context
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>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

application/json
organizationName
string
required

The name of the organization.

Example:

"EdgeImpulse Inc."

adminId
integer

Unique identifier of the administrator of the new organization.

Example:

1

adminEmail
string

Email of the administrator of the new organization.

Example:

"jan@edgeimpulse.com"

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Organization ID for the new organization

apiKey
string
required

API key for the new organization (this is shown only once)

error
string

Optional error description (set if 'success' was false)