From Bright Pattern Documentation
Jump to: navigation, search
m
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<translate>= Update User=
 
<translate>= Update User=
This API is used to change a user's password, system status (i.e., active or inactive), and skills.
+
Changes a user's password, system status (i.e., active or inactive), and skills.
  
== URL ==
+
== Request ==
http[s]://<host>:<port>/admin/ws/t/<tenant_url>/user/<login_id>
+
=== URL ===
 +
http[s]://<host>/admin/ws/t/<tenant_url>/user/<login_id>
  
== Method ==
+
=== HTTP Method ===
 
PUT
 
PUT
  
== Request Payload ==
+
== Response ==
{|border="1" style="border-collapse:collapse" cellpadding="5"
+
{
|
+
  "password": "top secret",
{
+
  "disabled": false,
"password": "top secret",
+
  "changePassword": true,
"disabled": false,
+
  "skills": {
"changePassword": true,
 
"skills": {
 
 
   "Maintenance Renewal": 100,
 
   "Maintenance Renewal": 100,
 
   "English": 33
 
   "English": 33
 +
  }
 
  }
 
  }
}
+
 
|}
+
 
 +
 
  
  
 
</translate>
 
</translate>

Latest revision as of 23:52, 13 November 2018

• 3.16 • 3.17 • 3.18

Update User

Changes a user's password, system status (i.e., active or inactive), and skills.

Request

URL

http[s]://<host>/admin/ws/t/<tenant_url>/user/<login_id>

HTTP Method

PUT

Response

{
 "password": "top secret",
 "disabled": false,
 "changePassword": true,
 "skills": {
  "Maintenance Renewal": 100,
  "English": 33
 }
}



< Previous