Accounts
Account Set Avatar
Upload an avatar for the authenticated account.
Upload an avatar for the authenticated account.
POST
/accounts/self/avatarstoryden-session<token>
In: cookie
Header Parameters
Content-Lengthinteger
Body content length in bytes.
body?file
Format
binaryResponse 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": {}
}Account Role Set Badge PUT PUT
Desgiantes the specified role as a badge for the profile. Only one role may be set as a badge for the profile. Setting a role as a badge is entirely aesthetic and does not grant any additional permissions. Roles may be created without any permissions in order to be used as badges.
Account Update PATCH PATCH
Update the information for the currently authenticated account.