LOG.debug("deactivate");
try (Connection conn = getSession().provider().connect()) {
ClaimBuilder claims = new ClaimBuilder();
claims.putResource("authz");
claims.put("status", "deactivated");
<BUG>int rc = conn.sendSignedRequest(getLocation(), claims, getSession());
if (rc != HttpURLConnection.HTTP_OK && rc != HttpURLConnection.HTTP_ACCEPTED) {

conn.throwAcmeException();
}</BUG>
}

LOG.debug("deactivate");
try (Connection conn = getSession().provider().connect()) {
ClaimBuilder claims = new ClaimBuilder();
claims.putResource("authz");
claims.put("status", "deactivated");
conn.sendSignedRequest(getLocation(), claims, getSession());
conn.accept(HttpURLConnection.HTTP_OK, HttpURLConnection.HTTP_ACCEPTED);
