POST
/
api
/
organizations
/
{organizationId}
/
whitelabel
/
projects
White Label Admin - Create a new project within white label context.
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/projects \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "projectName": "My project",
  "projectVisibility": "public",
  "ownerId": 1,
  "ownerEmail": "groucho@marxbros.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
projectName
string
required

The name of the project.

Example:

"My project"

projectVisibility
enum<string>

The visibility of the project, either public or private. Public projects can be viewed by anyone on the internet and edited by collaborators. Private projects can only be viewed and edited by collaborators.

Available options:
public,
private
ownerId
integer

Unique identifier of the owner of the new project. Either this parameter or ownerEmail must be set.

Example:

1

ownerEmail
string

Email of the owner of the new project. Either this parameter or ownerId must be set.

Example:

"groucho@marxbros.com"

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Project ID for the new project

apiKey
string
required

API key for the new project

error
string

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