Users
Enable or disable a user
Enable or disable a user account. Requires the **admin** role.
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