Skip to content
NTOMA
Esc
↑↓navigate↵open⌘Jpreview

Start an avatar upload

Returns a single-shot presigned PUT. Not the multipart pipeline: an avatar is one small object, and that pipeline creates an Asset row, which would put the avatar in the Library.

POST/api/auth/user/avatar-upload
Authorization
AuthorizationBearer token (JWT) · headerrequired
Request body
requiredapplication/json
object
Responses
201
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "http://localhost:8000/api/auth/user/avatar-upload" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Response
No example response.