---
title: "Update App"
method: PATCH
path: "/apps/{app_id}"
tags: ["Apps"]
---

# Update App

`PATCH /apps/{app_id}`

Update an app for a user or organization.

Args:
    app_id (str): The ID of the app.
    payload (UpdateApp): The payload containing the app name.

Returns:
    UpdateAppOutput: The output containing the newly created app's ID and name.

Raises:
    HTTPException: If there is an error creating the app or the user does not have permission to access the app.

## Path parameters

- `app_id` string, required

## Request body

- UpdateApp
  - `app_name` string, nullable
  - `folder_id` string, nullable

## Response `200`

Successful Response

- UpdateAppOutput
  - `app_id` string, required
  - `app_name` string, required
  - `app_type` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable
  - `folder_id` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-13** `72fe88316d15` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-01-14** `53da4c9de2b7` — 7 info
  - added the new optional request property `folder_id`
  - the request property `app_name` became optional
  - request property `app_name` list-of-types was widened by adding types `null` to media type `application/json`
  - added the optional property `app_type` to the response with the `200` status
  - …3 more
- **2025-06-27** `e3e84db47198` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/apps/:app_id/patch.md)

---

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