DocsAPI ReferenceBlob/bff/blob/upload-user-avatar
postBlobAdmin BFF

/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

2 total
Body · 2
filestringRequired

Image binary to use as the avatar.

Format: binary
Default: File
blobPathstringRequired

Storage path prefix.

Request

POST /bff/blob/upload-user-avatar

post
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.

Get API Key