curl --request PUT \
--url https://api.getenso.ai/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "jsmith@example.com",
"RoleId": 123
}
'{
"status": "success",
"message": "Success",
"data": {}
}Update an existing user’s name, email, or role.
curl --request PUT \
--url https://api.getenso.ai/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "jsmith@example.com",
"RoleId": 123
}
'{
"status": "success",
"message": "Success",
"data": {}
}JWT bearer token obtained from POST /auth/system-login using your client credentials.
User ID