API Keys changedapi/organization/api_keys
Nearest release: v2.1.328, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+46added
Lines−6removed
From line
556
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits8to this page, all time
### Errors ## Errors ### org_api_key_limit_exceeded ### workspace_api_key_limit_exceeded
The whole hunk
from line 556, old and new numbered
/
from line 556
556556
557557 - `"inactive"`
558558
559### Errors
560
561Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
562
563Each code below is the value of `error.details.error_code` in the response body.
564
565- `org_api_key_limit_exceeded` (HTTP status 400)
566
567 The organization has reached its limit of active API keys.
568
569- `workspace_api_key_limit_exceeded` (HTTP status 400)
570
571 The workspace has reached its limit of active API keys.
572
573- `sandbox_egress_restricted` (HTTP status 403)
574
575 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
576
559577### Example
560578
561579```bash
from line 802
784802
785803- `OrgAPIKeyLimitExceededErrorDetails object`
786804
787 The organization has reached its limit of active API keys.
788
789805 - `error_code: "org_api_key_limit_exceeded"`
790806
791807### Workspace API Key Limit Exceeded Error Details
from line 808
792808
793809- `WorkspaceAPIKeyLimitExceededErrorDetails object`
794810
811 - `error_code: "workspace_api_key_limit_exceeded"`
812
813## Errors
814
815### org_api_key_limit_exceeded
816
817HTTP status 400
818
819- `"org_api_key_limit_exceeded"`
820
821 The organization has reached its limit of active API keys.
822
823 - `details: OrgAPIKeyLimitExceededErrorDetails`
824
825 - `error_code: "org_api_key_limit_exceeded"`
826
827### workspace_api_key_limit_exceeded
828
829HTTP status 400
830
831- `"workspace_api_key_limit_exceeded"`
832
795833 The workspace has reached its limit of active API keys.
796834
797 - `error_code: "workspace_api_key_limit_exceeded"`
835 - `details: WorkspaceAPIKeyLimitExceededErrorDetails`
836
837 - `error_code: "workspace_api_key_limit_exceeded"`
798838
No line in this hunk matches that.