White Label Admin - Get a white label user

White Label Admin - Get a white label user

White label admin only API to get information about a user.

GEThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/users/{userId}
Path parameters
organizationId*integer

Organization ID

userId*integer

User ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

user*AdminApiUser (all of)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/users/{userId}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "user": {
    "id": 1,
    "username": "janjongboom",
    "name": "Jan Jongboom",
    "email": "text",
    "photo": "https://usercdn.edgeimpulse.com/photos/1.jpg",
    "created": "2019-08-31T17:32:28Z",
    "lastSeen": "2024-07-24T21:48:09.848Z",
    "staffInfo": {
      "isStaff": false,
      "hasSudoRights": false,
      "companyName": "text"
    },
    "pending": false,
    "lastTosAcceptanceDate": "2019-08-31T17:32:28Z",
    "jobTitle": "Software Engineer",
    "permissions": [
      "admin:infra:disallowedEmailDomains:write"
    ],
    "companyName": "Edge Impulse Inc.",
    "activated": false,
    "mfaConfigured": false,
    "stripeCustomerId": "text",
    "hasPendingPayments": false,
    "tier": "free",