EasypanelDocs

Update a user

Updates another user's administrator role and optionally replaces the password.

POST
/updateUser

Updates another user's administrator role and optionally replaces the password.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/updateUser" \  -H "Content-Type: application/json" \  -d '{    "admin": true,    "id": "string"  }'
null