From Bright Pattern Documentation
Jump to: navigation, search
(Updated via BpDeleteTranslateTags script)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<translate>= Clear User Lock State=
+
= Clear User Lock State=
 
Resets a temporary lockout if a user's account has been temporarily locked out after too many invalid login attempts.
 
Resets a temporary lockout if a user's account has been temporarily locked out after too many invalid login attempts.
  
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 ===
 
PUT
 
PUT
  
== Response ==
+
=== Content-Type ===
  {  
+
application/json
    "lockedOut":false
+
 
  }  
+
=== Parameters ===
 +
{|border="1" style="border-collapse:collapse" cellpadding="5"
 +
| '''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 > [[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
 +
|}
  
</translate>
+
=== Example Response ===
 +
<syntaxhighlight lang="JSON">
 +
  {
 +
    "lockedOut":false
 +
  }
 +
</syntaxhighlight>

Latest revision as of 04:32, 29 May 2024

• 5.2

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
  }
< Previous | Next >