---
title: "Update App Meta"
method: PUT
path: "/applications/{application_id}"
---

# Update App Meta

`PUT /applications/{application_id}`

## Request

- The document declares no server URL.
- Auth: none declared

Update the metadata of an application.

Args:
    application_id (str): The ID of the application to update.
    metadata (Metadata): The new metadata for the application.

Returns:
    ItemUpdateResponse: An object indicating the success or failure of the update operation.

## Path parameters

- `application_id` string, required

## Request body

- AppMetadata: The request model for updating app data.
  - `name` string, required
  - `langfusePublicKey` string
  - `langfuseSecretKey` string

## Response `200`

Successful Response

- ItemUpdateResponse: The response model for app/version update.
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2024-03-18** `f8db871807b1`: 2 info
  - added the new optional request property `langfusePublicKey`
  - added the new optional request property `langfuseSecretKey`

[Operation history](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/changes/applications/:application_id/put.md)

---

[API](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api.md) - [All operations](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/revisions/1194d2174bed?raw)
