Skip to content
Snippets Groups Projects

Add update avatar on user api

All threads resolved!
Files
3
+ 1
1
@@ -2556,7 +2556,7 @@ PUT /user/avatar
@@ -2556,7 +2556,7 @@ PUT /user/avatar
| Attribute | Type | Required | Description |
| Attribute | Type | Required | Description |
|-----------|-------------------|----------|-------------------------------------------------------------------------------------------------------------|
|-----------|-------------------|----------|-------------------------------------------------------------------------------------------------------------|
| `avatar` | string | Yes | The file to be uploaded. The ideal image size is 192 x 192 pixels. The maximum file size allowed is 200KiB. |
| `avatar` | string | Yes | The file to be uploaded. The ideal image size is 192 x 192 pixels. The maximum file size allowed is 200 KiB. |
To upload an avatar from your file system, use the `--form` argument. This causes
To upload an avatar from your file system, use the `--form` argument. This causes
cURL to post data using the header `Content-Type: multipart/form-data`. The
cURL to post data using the header `Content-Type: multipart/form-data`. The
Loading