From Bright Pattern Documentation
Jump to: navigation, search
Line 5: Line 5:
 
=== URL ===
 
=== URL ===
 
  http[s]://<host>/configapi/v2/user/lock/<login_id>
 
  http[s]://<host>/configapi/v2/user/lock/<login_id>
 +
 +
For example:
 +
http://example.com/configapi/v2/user/mo.williams
  
 
=== HTTP Method ===
 
=== HTTP Method ===
Line 30: Line 33:
  
 
== Response ==
 
== Response ==
In response to a successful request, the "locketOut" state is set to "false."
+
In response to a successful request, the "lockedOut" state is set to "false."
  
 
You can verify the user's lockstate in ''Contact Center Administrator > Users & Teams > [[5.3:Contact-center-administrator-guide/Users |  Users]]''.
 
You can verify the user's lockstate in ''Contact Center Administrator > Users & Teams > [[5.3:Contact-center-administrator-guide/Users |  Users]]''.
 +
 +
=== Parameters ===
 +
{|border="1" style="border-collapse:collapse" cellpadding="5"
 +
| '''Parameter'''
 +
| '''Data-Type'''
 +
| '''Description'''
 +
| '''Example'''
 +
|-
 +
| lockedOut
 +
| Boolean
 +
| Whether the user is locked out ("true") or not ("false")
 +
| true
 +
|}
  
 
=== Example Response ===
 
=== Example Response ===
Line 38: Line 54:
 
     "lockedOut":false
 
     "lockedOut":false
 
   }  
 
   }  
 +
  
  

Revision as of 18:25, 12 March 2019

• 5.2

<translate>= Clear User Lock State= Resets a temporary lockout if a user's account has been temporarily locked out after too many invalid login attempts.

Request

URL

http[s]://<host>/configapi/v2/user/lock/<login_id>

For example:

http://example.com/configapi/v2/user/mo.williams

HTTP Method

PUT

Content-Type

application/json

Parameters

Parameter Data-Type Description Example
login_id string The username of the user "mo.williams"

Request Body

Empty. All you need is the username in the URL.


Response

In response to a successful request, the "lockedOut" state is set to "false."

You can verify the user's lockstate in Contact Center Administrator > Users & Teams > Users.

Parameters

Parameter Data-Type Description Example
lockedOut Boolean Whether the user is locked out ("true") or not ("false") true

Example Response

 { 
   "lockedOut":false
 } 




</translate>

< Previous | Next >