Set avatar


Set avatar

/action/v2/setavatar

Set a media item as a user avatar

Requires a form token

Requires a session token - the user must be logged in

Supports redirectUrl param of fm:Form component

Example

<fm:Form action="/action/v2/setavatar" method="get"> <input type="hidden" name="mid" value="555888" /> <fm:Form_Custom><button type="submit">Make This My Avatar</button></fm:Form_Custom> </fm:Form>

Supported params

Name Required Description
mid Required Media id of the file to be user as the user's avatar