---
title: "Set user credits limits"
method: PUT
path: "/api/v0/organization/usage/limits/users"
tags: ["Organization"]
---

# Set user credits limits

`PUT /api/v0/organization/usage/limits/users`

Set individual per-user credits limits for one or more users. Supports bulk updates (up to 100 users per request). Identify each user by email. Pass null for limit to remove an individual override.

## Request body

- SetUserLimitsRequestBody
  - `users` object[], required — Array of user limit entries (up to 100). Each identifies a user by email.
    - `email` string, required — User email address
    - `limit` integer, nullable, required — Credits limit to set for this user (minimum 1,000,000). Pass null to remove the individual override.

## Response `200`

Response for status 200

- SetUserLimits200ResponseBody
  - `updated` object[], required — Successfully updated user limits
    - `email` string, required — User email address
    - `limit` integer, nullable, required — The limit that was set, or null if the override was removed
  - `errors` object[], required — Errors for users that could not be updated
    - `email` string, required — Email that was provided
    - `error` string, required — Error message

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `403` — Response for status 403
- `500` — Response for status 500

---

[API](https://skmtc.net/factory/apis/factory-public-api.md) · [All operations](https://skmtc.net/factory/apis/factory-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factory/factory-public-api/versions/684f94d47ca9/schema)
