Skip to main content
Version: Next

Create an administrator

POST

/system/v2/accounts/administrators

Platform support: MT and CC

Token Cost: 2 tokens (low)

Creates a new global site administrator. The body has two sections: general (name, e-mail and whether the account is disabled) and password (the password and its policy settings). Both are required.

password.password is required and must meet the site manager password policy. Unless password checks are disabled in the site settings:

  • it must not begin or end with whitespace
  • it may only use a-z, A-Z, 0-9 and ! % * _ - and must reach a strength score of 75 (see password.password)

With checks disabled any characters are allowed, and surrounding whitespace is trimmed off before the password is stored.

password.confirm_password must repeat password.password.

general.email must not already be used by another administrator.

Request​

Responses​

Administrator created successfully