Create a user using Powershell Rest API


I’m looking for a REST API powershell script, that is used to create a user in Octopus Deploy.
So, please provide me the powershell script, which will create the user and delete or modify…

Thanks for the help.



Hopefully my answer to your other ticket gives you a starting point for exploring the Octopus Rest API.

Creating a user will likely also involve adding the user to one or more teams.

Have you considered using the .NET API?

If you get stuck on anything specific, we’re happy to help.