teamcity rest api for create user

So rest api state to do post to create user but thats it all I found 

I run this command but it just returns all users


curl -uadmin:admin POST http://myurl:8111/app/rest/users/

0
1 comment

Hi Ahsan,

you need to add the content of the request. A POST request to create a user should contain basically the same that a GET request for a user returns (one of the user instances of the list from your current request), obviously changing the fields to those you need.

0

Please sign in to leave a comment.