---
title: "PUT /api/v1/hosting/apps/{id}"
method: PUT
path: "/api/v1/hosting/apps/{id}"
tags: ["hosting"]
---

# PUT /api/v1/hosting/apps/{id}

`PUT /api/v1/hosting/apps/{id}`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/hosting/apps/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- HostedAppUpdatePayload
  - `organization_id` string
  - `repository_id` string
  - `slug` string
  - `name` string
  - `description` string
  - `root_path` string
  - `framework` string
  - `status` 'draft' | 'active' | 'archived'

## Response `200`

Hosted app updated

- object
  - `app` HostedApp, required
    - `id` string, required
    - `organization_id` string, required
    - `repository_id` string, required
    - `repository_kind` string, nullable, required
    - `slug` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `root_path` string, required
    - `root_path_display` string, required
    - `framework` string, nullable, required
    - `status` 'draft' | 'active' | 'archived', required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `created_at_label` string, nullable, required
    - `updated_at_label` string, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
