---
title: "PUT /deploys/{deploy_id}/server/{code_sha}"
method: PUT
path: "/deploys/{deploy_id}/server/{code_sha}"
tags: ["deploy"]
---

# PUT /deploys/{deploy_id}/server/{code_sha}

`PUT /deploys/{deploy_id}/server/{code_sha}`

Uploads the deploy's Netlify Server bundle, addressed by the digest the deploy
declared in its `server` property.

## Path parameters

- `deploy_id` string, required
- `code_sha` string, required

## Query parameters

- `size` integer

## Headers

- `X-Nf-Retry-Count` integer

## Response `200`

OK

## Other responses

- `default` — error

## Changes

- **2026-09-24** `e23a48f76ad0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/changes/deploys/:deploy_id/server/:code_sha/put.md)

---

[API](https://skmtc.dev/netlify/apis/netlify-s-api-documentation.md) · [All operations](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/revisions/989a86aa134b?raw)
