---
title: "Adjust Credits"
method: POST
path: "/v1/admin/users/{user_id}/credits"
tags: ["admin"]
---

# Adjust Credits

`POST /v1/admin/users/{user_id}/credits`

## Request

- Base URL: `https://api.mocapless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mocapless.com/v1/admin/users/{user_id}/credits`
- Auth: none declared

Add credits (positive) or take them back (negative), with a note. The
ledger records it as a manual adjustment, with the admin's name on it.

## Path parameters

- `user_id` string, required

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- CreditAdjustment
  - `amount` integer, required
  - `note` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mocapless/apis/mocapless-api.md) · [All operations](https://skmtc.dev/mocapless/apis/mocapless-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mocapless/apis/mocapless-api/revisions/37b479a6e615?raw)
