Udon is under active development. Documentation not final.
udonudon
Users

Enable or disable a user

Enable or disable a user account. Requires the **admin** role.

POST
/api/users/{id}/disabled

Authorization

udon_session<token>

In: cookie

Path Parameters

id*string

The user's identifier.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/users/string/disabled" \  -H "Content-Type: application/json" \  -d '{    "disabled": true  }'
Empty

Ask AI

Answers from Udon's documentation.

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