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

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

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

## Path parameters

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

## Headers

- `X-Nf-Retry-Count` integer

## Response `200`

OK

## Other responses

- `default` — error

## Changes

- **2026-07-07** `f52792ac3791` — 1 info
  - endpoint added
- **2025-10-01** `dd4e48196663` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/changes/deploys/:deploy_id/edge_functions/: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-service-production.skmtc.workers.dev/v1/apis/netlify/netlify-s-api-documentation/revisions/71540d1b5d9d/schema)
