---
title: "PUT /users/user/{userId}/limits"
method: PUT
path: "/users/user/{userId}/limits"
tags: ["users"]
---

# PUT /users/user/{userId}/limits

`PUT /users/user/{userId}/limits`

Update the specified user's limits. ADMIN or CURATOR only

## Path parameters

- `userId` integer, required

## Request body

- Limits
  - `hostedEntryCountLimit` integer
  - `hostedEntryVersionLimit` integer

## Response `200`

Successfully updated the user's limits

- Limits
  - `hostedEntryCountLimit` integer
  - `hostedEntryVersionLimit` integer

## Other responses

- `403` — Forbidden
- `404` — User not found

---

[API](https://skmtc.dev/dockstore/apis/dockstore-api.md) · [All operations](https://skmtc.dev/dockstore/apis/dockstore-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dockstore/dockstore-api/revisions/9d82a4e96aa7/schema)
