---
title: "Set limit for the user"
method: POST
path: "/v2/users/{id}/limit"
tags: ["Users"]
---

# Set limit for the user

`POST /v2/users/{id}/limit`

This endpoint sets the monthly limit for a user. 
The limit amount must be non-negative. 
To unset the monthly limit of the user, just set `monthly_limit` to null.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- SetUserLimitRequest — Request that sets the monthly user limit.
  - `monthly_limit` Money — Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
    - `amount` integer, required — The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
    - `currency` string, nullable — The type of currency, in ISO 4217 format.

## Response `200`

setUserLimit 200 response

- UserLimitResponse
  - `monthly_limit` Money — Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
    - `amount` integer, required — The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
    - `currency` string, nullable — The type of currency, in ISO 4217 format.
  - `monthly_available` Money — Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
    - `amount` integer, required — The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
    - `currency` string, nullable — The type of currency, in ISO 4217 format.

---

[API](https://skmtc.net/brex-com/apis/team-api.md) · [All operations](https://skmtc.net/brex-com/apis/team-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brex-com/team-api/revisions/58e231ca118e/schema)
