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

# Update App

`PATCH /v1/hosting/apps/{app_id}`

## Path parameters

- `app_id` string, required

## Request body

- HostingAppUpdateRequest
  - `projectName` string, required

## Response `200`

Successful Response

- HostingAppDetailResponse
  - `id` string, required
  - `projectName` string, required
  - `status` string, required
  - `url` string, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `deploymentCount` integer, required
  - `visibility` string
  - `projectListingStatus` string, nullable
  - `secrets` HostingSecretSummary[]
    - `name` string, required
    - `updatedAt` string, date-time, required
  - `liveDeploymentId` string, nullable
  - `latestDeployment` HostingDeploymentSummary
    - `id` string, required
    - `appId` string, nullable
    - `projectName` string, nullable
    - `providerDeploymentId` string, nullable
    - `status` string, required
    - `statusSource` string
    - `isLive` boolean
    - `isTerminal` boolean
    - `url` string, nullable
    - `summary` string, nullable
    - `error` string, nullable
    - `crashCount` integer
    - `queuePosition` integer, nullable
    - `buildErrorDetail` string, nullable
    - `createdAt` string, date-time, nullable
    - `updatedAt` string, date-time, required
    - `queuedAt` string, date-time, nullable
    - `startedAt` string, date-time, nullable
    - `finishedAt` string, date-time, nullable
    - `hostPort` integer, nullable
    - `containerName` string, nullable
    - `imageTag` string, nullable

## Other responses

- `422` — Validation Error

---

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