Create an administrator
/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-9and! % * _ -and must reach a strength score of 75 (seepassword.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
- 201
- 400
- 401
- 403
- 409
- 500
Administrator created successfully
Invalid request
Unauthorized
Forbidden
Conflict - resource already exists or is in use
Internal server error