---
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, required

## Response `200`

Successful Response

- UpdateAppOutput
  - `app_id` string, required
  - `app_name` string, required

## Other responses

- `422` — Validation Error

## Changes

- **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/e3e84db47198/schema)
