/bff/blob/upload-user-avatar
Uploads an image file as the current user's avatar via multipart/form-data. Only image content types are accepted. The request body must contain "file" and "blobPath" fields.
BlobpostBffBlobUpload-user-avatar
Parameters
2 body
Body · 2
filestringRequiredImage binary to use as the avatar.
Format:
binaryDefault:
FileblobPathstringRequiredStorage path prefix.
Request
POST /bff/blob/upload-user-avatar
curl -X POST "https://api.bizkithub.com/bff/blob/upload-user-avatar" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"file": "File",
"blobPath": "example_blobPath"
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.