Dakshika Jayathilaka created STRATOS-872:
--------------------------------------------

             Summary: New User update issue
                 Key: STRATOS-872
                 URL: https://issues.apache.org/jira/browse/STRATOS-872
             Project: Stratos
          Issue Type: Bug
    Affects Versions: 4.1.0 M1
            Reporter: Dakshika Jayathilaka


PUT /user endpoint not updating and always return 201 accepted status. 

curl -X PUT -H "Content-Type: application/json" -d @user2.json -k -v -u 
admin:admin https://localhost:9443/stratos/admin/user

AFAIK we need to give /user/{userName} on update. 

current PUT works with non-exsisting users as wel..

here is the info log returns

INFO {org.apache.stratos.rest.endpoint.services.ServiceUtils} -  Successfully 
updated an user with Username test2




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to