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


Hi Shilpa,

Did you try sending a PATCH request as per the example you linked, with locked: true ?


PATCH /Users/0daf6e54-52c5-4360-bd4a-77f5355950b3/status HTTP/1.1
Content-Type: application/json
Authorization: Bearer fe11ae74b429403796ea13c017bff06c
Accept: application/json
Host: localhost
Content-Length: 22

  "locked" : true }

On 19 Apr 2018, at 08:13, shilpa kulkarni <shilpakulkarni91@...> wrote:

I am using cloud foundry UAA APIs.  I want to lock user account. But in the API documentation,  I am getting only unlock account API. 
Reference link:

Is there any way to lock account in UAA using API.?

Thanks & Regards
Shilpa Kulkarni

Join to automatically receive all group messages.