Changing User status with management API gives 404 error

Hi Apigeeks,

I am following the docs here for changing status of organisation user to "unlock".

http://docs.apigee.com/management/apis/post/users/%7Buser_email%7D/status

But I am getting a 404 error.

Here is my Curl for ref.

curl -X POST -H "Authorization: Basic XXXXXX" -H "Content-Type: application/json" "http://management-server:8080/v1/users/user@email.id/status?action=unlock"

Thanks,

Solved Solved
1 3 138
1 ACCEPTED SOLUTION

Hi @docs, Could you please update the docs for this API.

Got this working by removing content-type header.

Thanks..

View solution in original post

3 REPLIES 3

Hi @docs, Could you please update the docs for this API.

Got this working by removing content-type header.

Thanks..

Thank you @Mohammed Zuber for taking time to share the solution with community. Appreciate it , I am sure it's helpful for others. @docs , We need to update the smartdocs page & remove the header.

Thanks, @Mohammed Zuber. I've updated the docs. Note that we've been having some issues with fixes, so please let me know if content type reappears at some point.