PUT oauth/login/user/unlock
From Social ID Developers
(Difference between revisions)
(Created page with "{{DISPLAYTITLE:PUT login/user/unlock}} == Description == Unlocks a user for login. Use this API to manually unlock a user that got locked due to many incorrect login attempts...") |
(→Response) |
||
Line 20: | Line 20: | ||
{| | {| | ||
! align="left" width="200px" | ok (200) | ! align="left" width="200px" | ok (200) | ||
− | | The | + | | The user was unlocked successfully. |
|- | |- | ||
! align="left" width="200px" | unauthorized (401) | ! align="left" width="200px" | unauthorized (401) |
Latest revision as of 20:29, 24 November 2017
Contents |
Description
Unlocks a user for login. Use this API to manually unlock a user that got locked due to many incorrect login attempts.
See also:
Resource URL
PUT https://api.socialidnow.com/v2/marketing/login/user/unlock
Authentication
This API requires Login User Token authentication. See OAuth.
Response
Response Status
ok (200) | The user was unlocked successfully. |
---|---|
unauthorized (401) | The authentication is wrong. See OAuth. |
not_found (404) | The user was not found. |
internal_server_error (500) | An unknown error happened. |
Examples
Request
Unlocks the user:
curl -X PUT 'https://api.socialidnow.com/v1/marketing/login/users/unlock' \ -H "Authorization: Bearer 0358172c0cd160dfa731c7a76284fe0c30580f3fc8d827831e9f8b1821d8124c"
Response
Response Headers
HTTP/1.1 200 Ok Status: 200