Need help? Call Live Support at +31 (0) 38 453 07 59

Used to create a new SiteLock site

  • POSTMethod
  • /v2/sitelock/sites/domainNameURL
  • application/jsonContent-Type
Name Type Description Restrictions
domainName String The site domain name
  • Regular expression: ^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+(?:[a-z][a-z0-9-]{0,61}[a-z0-9])$
  • Minimum length: 3
  • Maximum length: 255
  • Registry specific restrictions may apply
Name Type Required / Optional Description Restrictions
account String Required The account username the site should be created in.
  • Regular expression: [a-zA-Z0-9\-_@\.]+
  • Minimum length: 8
  • Maximum length: 64
plan String Required The plan product for the site

Successful request

  • 202 AcceptedHTTP Status

Failed requests

Generic errors can be expected.

The site domain name
The plan product for the site

POST /v2/sitelock/sites/domainName
Content-Type: application/json