Skip to content

Upload User Profile Picture

POST
/api/v1/developer/users/{id}/avatar

Authorizations

bearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"

Request Body

multipart/form-data
object
Format"binary"

Responses

Avatar uploaded successfully

application/json
JSON
{
  
"code": "string",
  
"msg": "string",
  
"data": {
  
  
"avatar_url": "string"
  
}
}

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI