---
title: "Upload a new version of an owned deck"
method: POST
path: "/api/decks/{id}/update"
tags: ["Publish"]
---

# Upload a new version of an owned deck

`POST /api/decks/{id}/update`

## Request

- Base URL: `https://slidesfly.com`
- URL: `https://slidesfly.com/api/decks/{id}/update`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Updated

- OwnedUpdateSuccess
  - `ok` unknown, required
  - `data` object, required
    - `deck_id` string, required
    - `version_id` string, required
    - `version` integer, required
    - `size_bytes` integer, required
    - `sha256` string, required
    - `title` string, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Not allowed
- `404`: Deck not found
- `409`: Idempotency-Key reused with a different body (or still in flight)

---

[API](https://skmtc.dev/slidesfly/apis/slidesfly-http-api.md) · [All operations](https://skmtc.dev/slidesfly/apis/slidesfly-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidesfly/apis/slidesfly-http-api/revisions/9da38f802ead?raw)
