Skip to main content
POST
Upload embedded user avatar

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

orgId
string
required

Organization ID

userId
string
required

User ID of the embedded user

Body

multipart/form-data
avatar
file

Image file (JPEG or PNG). Maximum size: 2 MB.

Response

Avatar uploaded successfully

data
object
required