Parameters
JSON body
Request body
application/jsonuserIdstringRequired16-char external id of the user.
filestringRequiredbinaryImage file to use as the new avatar.
Default:
FileUploads an image to blob storage and sets cas__user.avatar_blob_id. Writes an admin.upload_user_avatar activity row. Requires internal admin membership.
JSON body
userIdstringRequired16-char external id of the user.
filestringRequiredbinaryImage file to use as the new avatar.
File1 status code documented
successbooleanRequiredavatarUrlstring | nullRequired{
"success": false
}POST /bff/admin/user-upload-avatar
curl -X POST "https://api.bizkithub.com/bff/admin/user-upload-avatar" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"userId": "example_userId",
"file": "File"
}'All BizKitHub public API endpoints require authentication via API key.