User.unlock - REST API

Overview

Unlock a user specified by user_id. Input UST must belong to a logged in super-user.

Use User.lock to lock users.

  • HTTP method: DELETE
  • URL path: /zato/sso/user/lock

Request

NameDatatypeOptionalNotes
uststring---Current user's session token (UST)
current_appstring---Name of application that the call is attempted from
user_idstring---ID of the user to unlock

Response

NameDatatypeOptionalNotes
cidstring---Correlation ID assigned to request
statusstring---Overall status code
sub_statuslistYesReturned only if status is not "ok", a list of error or warning codes

Usage

$ curl -XDELETE localhost:17010/zato/sso/user/lock -d '
  {
    "ust": "gAAAAABaluMOuV63skky-6ZZzlaPs...",
    "current_app": "CRM",
    "user_id": "zusr20ksc6vzb29fvbg8zympcnqdm9"
  }
  '

  {
      "cid": "de00deb0471188dcdd9913a8",
      "status": "ok"
  }