I want to ask if it is possible to add Organization with units , user groups ,and users through Rest API ?
if yes , what are steps to add each entity?
Yes since all this functionality are Services.
Every OOTB and service you create are accessible by REST.
This is also important to keep in mind when setting up your security.
typically your url would be something like /Thingworx/Organizations/NameOfOrg/Services/NameOfService
You may need to change some configuration settings in PlatformSubsystem
thanks PaiChung for your response , it is worked for me , but i want to ask how can i add organization to visibility of PlatformSubsystem permissions using Rest Api ?