Anthropicapi
August 26, 2026·Source

Admin API in the SDKs and ant CLI

Organization admin tasks like adding members and rotating API keys can now be scripted from the Claude SDKs and the ant command line tool.

Admin API in the SDKs and ant CLI announcement image
  • Covers organization members, workspaces, invites, and API keys, plus reading your organization's rate limits.
  • Needs either an Admin API key (starting sk-ant-admin) or an OAuth token with the org:admin scope. Only members with an admin, owner, or primary owner role can get one.
  • Not available on individual accounts. You need an organization set up in the Console first.
  • Claude Enterprise organizations call it with a scoped key created in claude.ai and get extra endpoints for groups, custom roles, and spend limits.

Best for

Managing a team's Claude Console access from a script instead of clicking through the Console by hand.

When to use it

You are onboarding or offboarding people in batches, or want key rotation and rate-limit checks running automatically.

Who benefits

Whoever administers the Claude account for a team or a company.

Join the newsletter to get ahead with AI.

I share strategies, new modules, free guides, and tools to get you better at using AI in your work.

Leading a team? See team programs →