Answer: Send a POST request to /v1/organizations/spend_limits with a scope of type user and the developer's OIDC sub as scope.user_id, plus amount and period. For example, a per-user cap is created by passing scope.user_id to target one developer. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api Revision: 1 Digest: sha256:6d8d30670b10d882 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:30Z Last changed: 2026-11-13T03:03:30Z Last verified: 2026-11-20T12:18:44Z Next check: 2026-11-21T12:18:44Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of endpoint | /v1/organizations/spend_limits | [1] | 2026-11-20 method | POST | [1] | 2026-11-20 user scope type | user | [1] | 2026-11-20 user id field | scope.user_id | [1] | 2026-11-20 amount format | Whole-number string of USD cents, or `null` | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude apps gateway spend limits". https://code.claude.com/docs/en/claude-apps-gateway-spend-limits.md Role: primary. Accessed: 2026-11-20T12:18:44Z Quote: "the gateway serves an admin API at `/v1/organizations/spend_limits`" (Supports: endpoint) Quote: "each `POST /v1/organizations/spend_limits` request creates or replaces one cap from `{scope, amount, period}`" (Supports: method) Quote: "`user` targets one developer by their OpenID Connect (OIDC) `sub`" (Supports: user scope type) Quote: "pass it as `scope.user_id`" (Supports: user id field) Quote: "Whole-number string of USD cents, or `null`" (Supports: amount format) Published: 2026-11-20T03:10:57Z Snapshot SHA-256: 0cd60cadc3fda9d8f2882dbeb78616eb5e17597f4a26a75d0e184044a1eeb165 (captured 2026-11-13T03:03:30Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:03:30Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:18:44Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:44Z Last attempt: 2026-11-20T12:18:44Z Notes and limitations: Extracted automatically from a single official source (section "Set a cap"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/set-team-spend-limits How do I set spend limits for my team in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/set-up-claude-tag-for-team How do I set up Claude Tag for my whole team as an administrator? https://latestn.com/tool/claude-code/admin-and-enterprise/set-up-environment-and-runner How do I set up a self-hosted environment and runner in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/session-token-proves-and-format What does the Claude Code session token prove and what is its format? https://latestn.com/tool/claude-code/admin-and-enterprise/set-gateway-url-user-settings How do I set the gateway URL for Claude Code in user settings? https://latestn.com/tool/claude-code/admin-and-enterprise/set-session-memory-limit How do I set a memory limit for each session on a Claude Code self-hosted runner? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set a spend limit for a developer through the Claude apps gateway Admin API? Revision 1, last verified 2026-11-20T12:18:44Z. https://latestn.com/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api (accessed 2026-11-21T10:00:30Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_set_spend_cap_admin_api_r1, title = {How do I set a spend limit for a developer through the Claude apps gateway Admin API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api}}, note = {Revision 1; digest sha256:6d8d30670b10d882; last verified 2026-11-20T12:18:44Z; accessed 2026-11-21T10:00:30Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/set-spend-cap-admin-api