---
title: "Upsert a new version to a application"
method: PATCH
path: "/applications/{owner}/{slug}/versions"
tags: ["Applications"]
---

# Upsert a new version to a application

`PATCH /applications/{owner}/{slug}/versions`

## Path parameters

- `owner` string, required
- `slug` string, required

## Request body

- NewApplicationVersion
  - `tag` string, required — The tag for this new version of the application
  - `release_notes` string — Some useful release notes so users know what has changed in this version

## Response `202`

Accepted

- S3UploadRequest
  - `url` string, required
  - `fields` object, required

## Other responses

- `400` — Invalid request
- `403` — Access forbidden
- `404` — Not found
- `422` — Validation Error
- `500` — Server error

---

[API](https://skmtc.net/pollination/apis/pollination-server.md) · [All operations](https://skmtc.net/pollination/apis/pollination-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pollination/pollination-server/revisions/c1f3c6d96b31/schema)
