Udon is under active development. Documentation not final.
udonudon
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.

POST
/api/auth/refresh

Authorization

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}

Ask AI

Answers from Udon's documentation.

Ask how to install Udon, run containers, or share folders.