final Account account =
new Account("test@testing.com", "Test Account", "testuser",
"Eyox7xbNQ09MkIfRyH+rjg==");
account.setEnabled(false);
new ResourceRequest(getRestEndpointUrl("/accounts/u/testuser"), "PUT",
getAuthorizedEnvironment()) {
@Override
protected void prepareRequest(ClientRequest request) {
request.body(MediaTypes.APPLICATION_ZANATA_ACCOUNT_JSON,
jsonMarshal(account).getBytes());