Auth
Refresh the session
Rotates the session token and extends it to the full 30-day lifetime, so a signed-in client can stay signed in without re-entering credentials. Requires the **viewer** role.
udon_session<token>
In: cookie
Header Parameters
X-Udon-Client?string
Any value. Returns the session token in the body as well as in the cookie, for a native client that has no cookie jar.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/auth/refresh"{ "id": "string", "username": "string", "role": "viewer", "disabled": true, "twoFactor": true}