API referenceAuth
Put Avatar
PUT
/api/v1/users/me/avatarAuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Header Parameters
If-Match?|
The resource's ETag: "{id}:{version}" of its current view, "{key}:{version}" for a model
TypeScript Definitions
Use the request body type in TypeScript.
body*file
Format
binaryResponse Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/users/me/avatar" \ -H "Content-Type: image/jpeg" \ -d 'string'{ "created_at": "2019-08-24T14:15:22Z", "email": "string", "id": "string", "image_url": "string", "kind": "string", "name": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0}