Users
Create a user
Create a user with a username, password, and role. Requires the **admin** role.
udon_session<token>
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/users" \ -H "Content-Type: application/json" \ -d '{ "username": "string", "password": "stringst", "role": "viewer" }'{ "id": "string", "username": "string", "role": "viewer", "disabled": true, "twoFactor": true}Change your own password POST
Change your own password. Your other sessions end and your other paired devices are revoked; the client making the change stays signed in. Requires the **viewer** role.
Your preferences GET
Your own preferences as a flat string-to-string map (theme, language, dashboard layout, and so on), so settings follow your account across browsers. Requires the **viewer** role.