Skip to content

Upload avatar

POST
/users/{id}/avatar

Authorizations

BearerAuth

Authentication is handled automatically via httpOnly session cookies after signing in at /cognito/signin or via Google SSO at /cognito/oauth/google. For Swagger UI testing, paste a JWT token from the /cognito/signin response.

Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required
Format
"uuid"

Request Body

multipart/form-data
object
Format"binary"

Responses

Avatar uploaded

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI