Storyden
Accounts

Account Set Avatar

Upload an avatar for the authenticated account.

Upload an avatar for the authenticated account.

POST/accounts/self/avatar
storyden-session<token>

In: cookie

Header Parameters

Content-Lengthinteger

Body content length in bytes.

body?file
Formatbinary

Response Body

curl -X POST "https://loading/api/accounts/self/avatar" \  -H "Content-Length: 0" \  -H "Content-Type: application/octet-stream" \  -d 'string'
Empty
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}