Re: How to lock account in UAA using UAA API? #cf


DHR
 

In that case you might have to send an updated request with “active”: false via a PUT request to /Users/:guid

On 20 Apr 2018, at 11:25, shilpa kulkarni <shilpakulkarni91@...> wrote:

Hi DHR,

Yes I tried setting locked to true as follows:

But I am getting following error response:
{
  "error_description": "Cannot set user account to locked. User accounts only become locked through exceeding the allowed failed login attempts.",
  "error": "scim",
  "message": "Cannot set user account to locked. User accounts only become locked through exceeding the allowed failed login attempts."
}

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.