POST
/
api
/
organizations
/
{organizationId}
/
whitelabel
/
projects
/
{projectId}
/
members
White Label Admin - Add user to a project
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/projects/{projectId}/members \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "usernameOrEmail": "janjongboom"
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

projectId
integer
required

Project ID

Body

application/json
usernameOrEmail
string

Username or email of the user to be added to the project or organization. If no user is provided, the user ID attached to the JWT will be used.

Example:

"janjongboom"

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

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