White Label Admin - Add user to an organization

White Label Admin - Add user to an organization

post

White label admin only API to add a user to an organization. If no user is provided, the current user is used.

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

innerOrganizationIdintegerRequired

Organization ID within the context of a white label

Body
all ofOptional
Responses
200
OK
application/json
post
POST /v1/api/organizations/{organizationId}/whitelabel/organizations/{innerOrganizationId}/members HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "usernameOrEmail": "janjongboom",
  "role": "admin",
  "datasets": [
    "text"
  ]
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?