SETUP_SITE_URL_MANAGE SETUP Endpoint
  /rpc/setup/?method=SETUP_SITE_URL_MANAGE  
  Object: 301. Click here for more information.  
  Manage URLs associated with a website/webapp.

After setting up a URL using this method, you need to update your DNS and add a CNAME record pointing to site.mydigitalstructure.com.
 
  PARAMETERS TYPE NOTES
  Id Numeric  
  Remove 1  
       
  Notes Text (2000)  
  Primary Text (1) Y / N. You can only have this set to Y for one record in your space.
  Site Numeric  
  Status Numeric 1=Enabled [default], 2=Disabled, 3=Awaiting Approval,4=Not Valid
  Url Text (500) Must be unique within the system
  RETURN  
  notes ADDED, UPDATED, REMOVED