As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
POST /alfresco/service/api/sites
And yes,Once I create some website "demo" from Alfresco Share interface, obviously it works!!!Now i have deleted this website from Alfresco Share.Here the strange thing is,Now if I create site from PHP application with "demo"(same name which we have created and deleted in past from alfresco share interface) name then it works!!!