---
title: "Set User Techpack Allowance"
method: PATCH
path: "/admin/users/{user_id}/techpack-allowance"
tags: ["admin"]
---

# Set User Techpack Allowance

`PATCH /admin/users/{user_id}/techpack-allowance`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/admin/users/{user_id}/techpack-allowance`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Set or reset the monthly tech pack allowance for this user's organization.

## Path parameters

- `user_id` string, uuid, required

## Request body

- AdminTechpackAllowanceRequest: Set the organization's monthly tech pack allowance.
  - `allowance` integer, nullable: Tech packs per month. -1 = unlimited. Null restores the plan default.

## Response `200`

Successful Response

- AdminTechpackAllowanceResponse
  - `success` boolean
  - `user_id` string, uuid, required
  - `org_id` string, uuid, required
  - `techpack_allowance_override` integer, nullable
  - `techpack_allowance` integer, nullable
  - `techpacks_used_this_month` integer
  - `resolved_tier` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
