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

Used to create a new SiteLock account with a site

  • POSTMethod
  • /v2/sitelock/accounts/usernameURL
  • application/jsonContent-Type
Name Type Description Restrictions
username String The account username
  • Regular expression: [a-zA-Z0-9\-_@\.]+
  • Minimum length: 8
  • Maximum length: 64
Name Type Required / Optional Description Restrictions
email String Required The email address
  • Regular expression: (?=.{1,64}@)[a-z0-9_\-+]+(?:\.[a-z0-9_\-+]+)*@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+(?:[a-z][a-z0-9-]{0,61}[a-z0-9])
  • Minimum length: 6
  • Maximum length: 255
password String Optional Initial password for user, must be changed upon first login. If no password is set use SSO or reset password later on.
  • Minimum length: 8
  • Maximum length: 64
language Enum Optional Initial language for the account

Possible values:

  • EN: English
  • NL: Dutch
  • FR: French
  • DE: German
  • ES: Spanish
  • IT: Italian
  • PT: Portuguese
  • EL: Greek
  • JP: Japanese
  • ZH: Chinese
brand String Optional The brand/company name to use in the SiteLock portal and emails, defaults to the organization name of the brand "default"
  • Minimum length: 3
  • Maximum length: 255
domainName String Required The domain name for the initial site
  • 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
plan String Required The plan product for the site

Successful request

  • 201 CreatedHTTP Status

Failed requests

Generic errors can be expected.

The account username
The email address
Initial password for user, must be changed upon first login. If no password is set use SSO or reset password later on.
Initial language for the account
The brand/company name to use in the SiteLock portal and emails, defaults to the organization name of the brand "default"
The domain name for the initial site
The plan product for the site

POST /v2/sitelock/accounts/username
Content-Type: application/json

{}