updateAccountChallenge.addStatus(serviceUnavailable("the site is temporarily offline"));
updateAccountChallenge.setTestForm(new TestForm());
updateAccountChallenge.addPathParameter(new Parameter("login", Parameter.Type.String, "Unique login name"));
updateAccountChallenge.addOptionalParameter(new Parameter("challenge", Parameter.Type.String, "Password"));
updateAccountChallenge.addOptionalParameter(new Parameter("response", Parameter.Type.Password, "Password"));
docs.addEndpoint(Endpoint.Type.WRITE, updateAccountChallenge);
// DELETE /account/{login}
Endpoint deleteAccount = new Endpoint("/account/{login}", Method.DELETE, "removeaccount");
deleteAccount.setDescription("Removes the account from the site");
deleteAccount.addFormat(Format.xml());