---
title: "Update Resource Usage"
method: PATCH
path: "/settings/usage"
tags: ["Settings"]
---

# Update Resource Usage

`PATCH /settings/usage`

Update the resource usage settings of the server.

## Cookies

- `_me_sess` string, required

## Request body

- SettingsUsagePatch — Request body for updating the resource limits of the application.
  - `threads` integer
  - `memory_limit` string

## Response `201`

Success

## Other responses

- `400` — 400 Bad Request.
- `401` — 401 Unauthorised.
- `403` — 403 Forbidden.
- `500` — 500 Unexpected Internal Server Error.

## Changes

- **2024-07-03** `921b4658c8cd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/medama-io/apis/medama-analytics-api/changes/settings/usage/patch.md)

---

[API](https://skmtc.dev/medama-io/apis/medama-analytics-api.md) · [All operations](https://skmtc.dev/medama-io/apis/medama-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/medama-io/medama-analytics-api/revisions/3eb6ca7aea57/schema)
