---
title: "Assign User Custom Price"
method: POST
path: "/admin/users/{user_id}/custom-prices"
tags: ["admin"]
---

# Assign User Custom Price

`POST /admin/users/{user_id}/custom-prices`

## 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}/custom-prices`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Path parameters

- `user_id` string, uuid, required

## Request body

- UserAssignRequest
  - `custom_price_id` string, uuid, required
  - `ends_at` string, date-time, nullable

## Response `200`

Successful Response

- unknown

## 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)
