Set Avatar
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
contentType*string
imageBase64*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/me/avatar" \ -H "Content-Type: application/json" \ -d '{ "contentType": "string", "imageBase64": "string" }'{ "id": "string", "name": "string", "email": "string", "isEmailVerified": true, "avatarUrl": "string", "createdAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "conflict", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unavailable", "code": "string", "message": "string", "param": "string" }}