Set the user's avatar URL.
PUT {{baseUrl}}/profile/:userId/avatar_url
This API sets the given user's avatar URL. You must have permission to
set this user's avatar URL, e.g. you need to have their access_token
.
Request Body
{"avatar_url"=>"mxc://matrix.org/wefh34uihSDRGhw34"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{}