---
title: "Replace the source of the named `App` in the `Namespace` and restage it."
method: PATCH
path: "/namespaces/{Namespace}/applications/{App}/source"
tags: ["application"]
---

# Replace the source of the named \`App\` in the \`Namespace\` and restage it.

`PATCH /namespaces/{Namespace}/applications/{App}/source`

The multipart body carries the source archive and an optional `process_cmd`
form field (supervisor fallback command for non-Paketo buildpacks).

## Path parameters

- `Namespace` string, required
- `App` string, required

## Response `200`

## Changes

- **2026-08-26** `52a332d799de` — 1 info
  - endpoint added
- **2026-08-17** `ce7276b4dbad` — 1 breaking
  - api path removed without deprecation
- **2026-08-10** `7a47c00123af` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/epinio/apis/epinio-api/changes/namespaces/:Namespace/applications/:App/source/patch.md)

---

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