GINSBURG, Circuit Judge:
The United States Secret Service revoked the Top Secret security clearance of Special Agent Sarah E. Oryszak after the agency concluded she had “knowingly passed counterfeit currency.” Because having a Top Secret security clearance was a requirement of her job, Oryszak’s employment was terminated.
[524]*524Oryszak does not dispute that she passed counterfeit currency but claims she did not do so knowingly. After exhausting her administrative appeals, she filed this suit under the Administrative Procedure Act, claiming the revocation of her security clearance was arbitrary, capricious, and an abuse of discretion for want of evidence she had passed the currency knowingly.1 The Government moved to dismiss the complaint for lack of subject matter jurisdiction per Fed.R.Civ.P. 12(b)(1) or, in the alternative, for failure to state a claim, per Fed.R.Civ.P. 12(b)(6). The district court, concluding the decision was committed to the discretion of the Secret Service, granted the motion to dismiss for lack of subject matter jurisdiction.
Because the facts are not in dispute, we rely upon the account given by the district court. 565 F.Supp.2d at 16-17. We affirm that court’s order dismissing Oryszak’s complaint, but issue this opinion to clarify that the complaint should be dismissed not for want of subject matter jurisdiction but for failure to state a claim. See EEOC v. St. Francis Xavier Parochial Sch., 117 F.3d 621, 624 (D.C.Cir.1997) (“Although the district court erroneously dismissed the action pursuant to Rule 12(b)(1), we could nonetheless affirm the dismissal if dismissal were otherwise proper based on failure to state a claim under Federal Rule of Civil Procedure 12(b)(6)”).
The district court dismissed the complaint for lack of jurisdiction on the ground that “the Secret Service’s decision to revoke Oryszak’s security clearance was a decision committed to agency discretion by law,” 565 F.Supp.2d at 23, and therefore not subject to the APA. See 5 U.S.C. § 701(a)(2) (providing the APA does not apply to “agency action ... committed to agency discretion by law”). We agree with the district court that the decision of the Secret Service was committed to agency discretion, although we conclude this is not a jurisdictional bar.
The jurisdiction of the district court did not depend upon the APA, which “is not a jurisdiction-conferring statute.” Trudeau v. FTC, 456 F.3d 178, 183 (D.C.Cir.2006); see Califano v. Sanders, 430 U.S. 99, 107, 97 S.Ct. 980, 51 L.Ed.2d 192 (1977) (“[T]he APA does not afford an implied grant of subject-matter jurisdiction permitting federal judicial review of agency action”). Rather, the court had subject-matter jurisdiction pursuant to the so-called “federal question” statute, 28 U.S.C. § 1331, which grants the district [525]*525court “original jurisdiction of all civil actions arising under the Constitution, laws, or treaties of the United States” and thereby “confer[s] jurisdiction on federal courts to review agency action.” Califano, 430 U.S. at 105, 97 S.Ct. 980; see also Chrysler Corp. v. Brown, 441 U.S. 281, 317 n. 47, 99 S.Ct. 1705, 60 L.Ed.2d 208 (1979) (“Jurisdiction to review agency action under the APA is found in 28 U.S.C. § 1331”); Ass’n of Nat’l Advertisers v. FTC, 617 F.2d 611, 619 (D.C.Cir.1979) (“General federal question jurisdiction ... gives the district courts the power to review agency action absent a preclusion of review statute”).
The judicial review provisions of the APA, 5 U.S.C. §§ 701-706, provide “a limited cause of action for parties adversely affected by agency action.” Trudeau, 456 F.3d at 185. Because the APA does not apply to agency action committed to agency discretion by law, a plaintiff who challenges such an action cannot state a claim under the APA. Therefore, the court has jurisdiction over his case pursuant to § 1331, but will properly grant a motion to dismiss the complaint for failure to state a claim. See Arbaugh v. Y & H Corp., 546 U.S. 500, 515, 126 S.Ct. 1235, 163 L.Ed.2d 1097 (2006) (limitation on cause of action that “does not speak in jurisdictional terms or refer in any way to the jurisdiction of the district courts” is not jurisdictional).2
The Supreme Court has made clear that, at least in the absence of legislation, “the grant of security clearance to a particular employee, a sensitive and inherently discretionary judgment call, is committed by law to the appropriate agency of the Executive Branch.” Dep’t of the Navy v. Egan, 484 U.S. 518, 527, 108 S.Ct. 818, 98 L.Ed.2d 918 (1988). As Commander in Chief, U.S. Const., Art. II, § 2, the President has constitutional authority, subject to appropriate limitation by the Congress, “to classify and control access to information bearing on national security and to determine whether an individual is sufficiently trustworthy to occupy a position in the Executive Branch that will give that person access to such information.” Id. at 527, 108 S.Ct. 818. The President has delegated that authority to various agencies in the Executive Branch, including the Secret Service. See Exec. Order No. 12,-968, 60 Fed.Reg. 40,245 (1995).
Under Egan it falls to the Secret Service to “determine what constitutes an acceptable margin of error in assessing the potential risk” to national security inherent in granting any particular individual access to classified information. 484 U.S. at 529, 108 S.Ct. 818. Here, the Secret Service drew from the undisputed facts an inference about Oryszak’s state of mind and made a judgment about her risk to security. As we have stated before, “Egan teaches plainly that review of the breadth of [the margin of error acceptable in assessing the security risk posed by an individual] is outside the authority of a nonexpert body.” United States Info. Agency v. Krc, 905 F.2d 389, 395 (1990). Both the aforementioned cases refer to a nonexpert administrative body but the principle ap[526]*526plies equally to a court.
Free access — add to your briefcase to read the full text and ask questions with AI
GINSBURG, Circuit Judge:
The United States Secret Service revoked the Top Secret security clearance of Special Agent Sarah E. Oryszak after the agency concluded she had “knowingly passed counterfeit currency.” Because having a Top Secret security clearance was a requirement of her job, Oryszak’s employment was terminated.
[524]*524Oryszak does not dispute that she passed counterfeit currency but claims she did not do so knowingly. After exhausting her administrative appeals, she filed this suit under the Administrative Procedure Act, claiming the revocation of her security clearance was arbitrary, capricious, and an abuse of discretion for want of evidence she had passed the currency knowingly.1 The Government moved to dismiss the complaint for lack of subject matter jurisdiction per Fed.R.Civ.P. 12(b)(1) or, in the alternative, for failure to state a claim, per Fed.R.Civ.P. 12(b)(6). The district court, concluding the decision was committed to the discretion of the Secret Service, granted the motion to dismiss for lack of subject matter jurisdiction.
Because the facts are not in dispute, we rely upon the account given by the district court. 565 F.Supp.2d at 16-17. We affirm that court’s order dismissing Oryszak’s complaint, but issue this opinion to clarify that the complaint should be dismissed not for want of subject matter jurisdiction but for failure to state a claim. See EEOC v. St. Francis Xavier Parochial Sch., 117 F.3d 621, 624 (D.C.Cir.1997) (“Although the district court erroneously dismissed the action pursuant to Rule 12(b)(1), we could nonetheless affirm the dismissal if dismissal were otherwise proper based on failure to state a claim under Federal Rule of Civil Procedure 12(b)(6)”).
The district court dismissed the complaint for lack of jurisdiction on the ground that “the Secret Service’s decision to revoke Oryszak’s security clearance was a decision committed to agency discretion by law,” 565 F.Supp.2d at 23, and therefore not subject to the APA. See 5 U.S.C. § 701(a)(2) (providing the APA does not apply to “agency action ... committed to agency discretion by law”). We agree with the district court that the decision of the Secret Service was committed to agency discretion, although we conclude this is not a jurisdictional bar.
The jurisdiction of the district court did not depend upon the APA, which “is not a jurisdiction-conferring statute.” Trudeau v. FTC, 456 F.3d 178, 183 (D.C.Cir.2006); see Califano v. Sanders, 430 U.S. 99, 107, 97 S.Ct. 980, 51 L.Ed.2d 192 (1977) (“[T]he APA does not afford an implied grant of subject-matter jurisdiction permitting federal judicial review of agency action”). Rather, the court had subject-matter jurisdiction pursuant to the so-called “federal question” statute, 28 U.S.C. § 1331, which grants the district [525]*525court “original jurisdiction of all civil actions arising under the Constitution, laws, or treaties of the United States” and thereby “confer[s] jurisdiction on federal courts to review agency action.” Califano, 430 U.S. at 105, 97 S.Ct. 980; see also Chrysler Corp. v. Brown, 441 U.S. 281, 317 n. 47, 99 S.Ct. 1705, 60 L.Ed.2d 208 (1979) (“Jurisdiction to review agency action under the APA is found in 28 U.S.C. § 1331”); Ass’n of Nat’l Advertisers v. FTC, 617 F.2d 611, 619 (D.C.Cir.1979) (“General federal question jurisdiction ... gives the district courts the power to review agency action absent a preclusion of review statute”).
The judicial review provisions of the APA, 5 U.S.C. §§ 701-706, provide “a limited cause of action for parties adversely affected by agency action.” Trudeau, 456 F.3d at 185. Because the APA does not apply to agency action committed to agency discretion by law, a plaintiff who challenges such an action cannot state a claim under the APA. Therefore, the court has jurisdiction over his case pursuant to § 1331, but will properly grant a motion to dismiss the complaint for failure to state a claim. See Arbaugh v. Y & H Corp., 546 U.S. 500, 515, 126 S.Ct. 1235, 163 L.Ed.2d 1097 (2006) (limitation on cause of action that “does not speak in jurisdictional terms or refer in any way to the jurisdiction of the district courts” is not jurisdictional).2
The Supreme Court has made clear that, at least in the absence of legislation, “the grant of security clearance to a particular employee, a sensitive and inherently discretionary judgment call, is committed by law to the appropriate agency of the Executive Branch.” Dep’t of the Navy v. Egan, 484 U.S. 518, 527, 108 S.Ct. 818, 98 L.Ed.2d 918 (1988). As Commander in Chief, U.S. Const., Art. II, § 2, the President has constitutional authority, subject to appropriate limitation by the Congress, “to classify and control access to information bearing on national security and to determine whether an individual is sufficiently trustworthy to occupy a position in the Executive Branch that will give that person access to such information.” Id. at 527, 108 S.Ct. 818. The President has delegated that authority to various agencies in the Executive Branch, including the Secret Service. See Exec. Order No. 12,-968, 60 Fed.Reg. 40,245 (1995).
Under Egan it falls to the Secret Service to “determine what constitutes an acceptable margin of error in assessing the potential risk” to national security inherent in granting any particular individual access to classified information. 484 U.S. at 529, 108 S.Ct. 818. Here, the Secret Service drew from the undisputed facts an inference about Oryszak’s state of mind and made a judgment about her risk to security. As we have stated before, “Egan teaches plainly that review of the breadth of [the margin of error acceptable in assessing the security risk posed by an individual] is outside the authority of a nonexpert body.” United States Info. Agency v. Krc, 905 F.2d 389, 395 (1990). Both the aforementioned cases refer to a nonexpert administrative body but the principle ap[526]*526plies equally to a court. Therefore, following the lead of the Supreme Court, we have consistently held that because the authority to issue a security clearance is a discretionary function of the Executive Branch, actions based upon denial of security clearance are committed to agency discretion by law, at least where a constitutional claim is not properly presented. See, e.g., Bennett v. Chertoff, 425 F.3d 999, 1001 (D.C.Cir.2005); Ryan v. Reno, 168 F.3d 520, 524 (D.C.Cir.1999); Krc, 905 F.2d at 395.
That a plaintiff complains about an action that is committed to agency discretion by law does not mean his case is not a “civil action[] arising under the Constitution, laws, or treaties of the United States.” 28 U.S.C. § 1331. It does not mean, therefore, the court lacks subject matter jurisdiction. See Baker v. Carr, 369 U.S. 186, 198, 82 S.Ct. 691, 7 L.Ed.2d 663 (1962). It does mean there is no “law to apply,” Citizens to Preserve Overton Park, Inc. v. Volpe, 401 U.S. 402, 410, 91 S.Ct. 814, 28 L.Ed.2d 136 (1971), because the court has “no meaningful standard against which to judge the agency’s exercise of discretion.” Heckler v. Chaney, 470 U.S. 821, 830, 105 S.Ct. 1649, 84 L.Ed.2d 714 (1985).3
In this case, the APA provides no cause of action to review the decision of the Secret Service to revoke Oryszak’s seeurity clearance because that decision is an “agency action ... committed to agency discretion by law.” Therefore Oryszak failed to state a claim upon which relief can be granted, and the order of the district court dismissing Oryszak’s complaint must be
Affirmed.