White Label Admin - Update white label user
White label admin only API to update user properties.
Authorizations
Path parameters
organizationIdintegerRequired
Organization ID
userIdintegerRequired
User ID
Body
Only fields set in this object will be updated.
emailstringOptionalExample:
New email. This will also update the forum's email address but the user may need to logout/login back
[email protected]
namestringOptionalExample:
New user full name
Don Quijote de la Mancha
activatedbooleanOptionalExample:
Whether the user is active or not. Can only go from inactive to active.
true
suspendedbooleanOptionalExample:
Whether the user is suspended or not.
false
suspensionReasonstringOptionalExample:
Reason for suspension
Spamming the forum
jobTitlestringOptionalExample:
New user job title
Knight
experimentsstring[]Optional
List of user experiments
Responses
200
OK
application/json
post
POST /v1/api/organizations/{organizationId}/whitelabel/users/{userId} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"email": "[email protected]",
"name": "Don Quijote de la Mancha",
"activated": true,
"suspended": false,
"suspensionReason": "Spamming the forum",
"jobTitle": "Knight",
"experiments": [
"text"
]
}
200
OK
{
"success": true,
"error": "text"
}
Last updated
Was this helpful?