SETUP_SITE_MANAGE SETUP Endpoint
  /rpc/setup/?method=SETUP_SITE_MANAGE  
  Object: 40. Click here for more information.  
  Manage a website or webapp.  
  PARAMETERS TYPE NOTES
  Id Numeric  
  Remove 1 You will be passed back a verifycode, you then need to resubmit with the code set as &veriftycode=. Suggest getting the user to type the code in the client - to prevent accidental deletion.
       
  BodyTag Text (500) Alternate BODY element
  CanCreateSpace Text (1) Y / N [default]. Needs to be Y in order to be able to create new spaces within the site, see REGISTER_SPACE_MANAGE
  Columns Text (50) Relevant if Layout = Frames or Tables
  CSSAttachment Numeric Attachment that contains the CSS
  Default Text (1) Y / N. You can only / need to have one site marked default = Y
  DeveloperEmail Text (100) For reference, allowing ibCom to contact you if needed.
  DocumentType Text (500) XHTML document type (first line of document)
  Email Text (50)  
  FooterHeight Numeric Only valid for older, frame based layouts
  FooterScript Text (2000) Typically something like google analytics js script.
  HeaderHeight Numeric Only valid for older, frame based layouts
  HeaderScript Text (4000) References to css, js files etc
  HeaderTitle Text Only valid for older, frame based layouts
  HideStandardLinks Text (1) Y [default],N. Only valid for older, frame based layouts
  Layout Numeric 1=Layout Using Frames,2=Layout Using Tables, 3=[No Layout] [default]
  Notes Text (2000)  
  OnDemandStatus Numeric 1=[Disabled] [default],2=Enabled For Testing (Allow AJAX calls from any source/site),3=Enabled (AJAX calls only from same site),4=Enabled For Testing (Allow AJAX calls from any source/site & access any space),5=Enabled (AJAX calls only from same site & access any space)
  Reference Numeric Defaults to match Id
  SAMLIdentityProviderCertificate Text (2000) See http://docs.mydigitalstructure.com/gettingstarted_authentication_sso. This is text like '-----BEGIN CERTIFICATE-----MIIDdDCCAlygAwIBAgIGAV/X7y4+MA0GCSqGSIb3DQEBCwUAMHsx...'
  SAMLIdentityProviderId Text (200) This is text like 'https://accounts.google.com/o/saml2?idpid=J43fep9zp'
  SAMLIdentityProviderName Text (50) This is text like 'Google'
  SAMLIdentityProviderURL Text (200) This is text like 'https://accounts.google.com/o/saml2/idp?idpid=ABCDEF'
  SecureURL Text (100)  
  Status Numeric 1=Closed [default],2=Open,3=Opening Soon
  TemplateDocument Numeric A document. ie DOCUMENT_SEARCH
  Title Text (100) Mandatory
  UseKeywordsAsTitle Text (1) Y [default] / N
  VerifyCode Numeric See remove.
  WebAddress Text (150)  
  WebSiteLocation Numeric 1=[Not Applicable] [default],2=Located On Another System,3=Redirect To My Integrated Online Shop,4=Root Domain
  RETURN  
  notes UPDATED, REMOVED