---
title: "Set or clear a member's monthly limit on workspace wallet spending [write, owner or admin]"
method: PUT
path: "/universes/{slug}/wallet/limits/{userId}"
---

# Set or clear a member's monthly limit on workspace wallet spending \[write, owner or admin\]

`PUT /universes/{slug}/wallet/limits/{userId}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/universes/{slug}/wallet/limits/{userId}`
- Auth: HTTP bearer

The limit counts workspace-wallet charges attributed to that member in the calendar month (UTC): the admitted sender of each turn or consumption, including helpers. Historical charges without a recorded sender and work outside an active turn count against the session starter. At the limit a message to a session the workspace pays for, a helper, a handoff and a fork are refused with 402 member_limit_reached, and a new session is created waiting; other members are not affected. monthly_limit null removes the limit. When the new limit lets the member spend again their waiting tasks continue by themselves: resumed counts the messages that were sent on.

## Path parameters

- `slug` string, required
- `userId` string, required

## Request body

- object
  - `monthly_limit` object, nullable, required
    - `amount` string, required: Whole US cents
    - `currency` 'USD', required

## Response `200`

OK

- object
  - `ok` boolean
  - `resumed` integer

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/universes/:slug/wallet/limits/:userId/put.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
