PUT login/users/:user id/unlock

From Social ID Developers
Revision as of 20:28, 24 November 2017 by Gabriel.prado (Talk | contribs)
Jump to: navigation, search

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/v1/marketing/login/users/:user_id/unlock

Parameters

URL Parameters

user_id required user identifier.

Authentication

This API requires Social Login App authentication. See Authentication.

Response

Response Status

ok (200) The user was unlocked successfully.
unauthorized (401) The authentication is wrong. See Authentication.
not_found (404) The user was not found.
internal_server_error (500) An unknown error happened.

Examples

Request

Unlocks the user "340":

 curl -iX PUT 'https://api.socialidnow.com/v1/marketing/login/users/340/unlock' \
        --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf

Response

Response Headers

HTTP/1.1 200 Ok
Status: 200
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox