White Label Admin - Create a new organization project

White Label Admin - Create a new organization project

post

White label admin only API to create a new project for an organization.

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

innerOrganizationIdintegerRequired

Organization ID within the context of a white label

Body
projectNamestringRequired

The name of the project.

Example: My project
projectVisibilitystring · enumOptional

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.

Possible values:
ownerIdintegerOptional

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

Example: 1
ownerEmailstringOptional

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

Example: [email protected]
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/whitelabel/organizations/{innerOrganizationId}/projects HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "projectName": "My project",
  "projectVisibility": "public",
  "ownerId": 1,
  "ownerEmail": "[email protected]"
}
200

OK

{
  "success": true,
  "error": "text",
  "id": 1,
  "apiKey": "text"
}

Last updated

Was this helpful?