Change your password
PUT
/api/auth/passwordEnds every other session you have. The one you did this from stays signed in.
Authorization
session modbot.session<token>
The web app's session, set by POST /api/auth/login.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/auth/password" \ -H "Content-Type: application/json" \ -d '{ "currentPassword": "string", "newPassword": "string", "confirmPassword": null }'Empty
Get my automatic roles GET
The automatic role rules that apply to the signed-in account: the whole moderator team, or the Discord or VRChat roles the rule names. Each lists whether the account holds the role now and, for every condition the rule switches on, whether it is met and the numbers behind it. Empty when no rule applies.
Change your username PUT
Same rule as everywhere: two names that differ only in case are one name.