---
title: "Changes to Update a snippet"
method: PUT
path: "/snippets/{workspace}/{encoded_id}"
---

# Changes to Update a snippet

`PUT /snippets/{workspace}/{encoded_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 15 revisions.

- **2026-07-13** `d344164ecb11`: 6 warning

## Changes

- **2026-07-13** `d344164ecb11`: 6 warning
  - removed the optional property `allOf[subschema #2: Snippet]/creator/allOf[subschema #2: Account]/username` from the response with the `200` status (media type: application/json)
  - removed the optional property `allOf[subschema #2: Snippet]/creator/allOf[subschema #2: Account]/username` from the response with the `200` status (media type: multipart/related)
  - removed the optional property `allOf[subschema #2: Snippet]/creator/allOf[subschema #2: Account]/username` from the response with the `200` status (media type: multipart/form-data)
  - removed the optional property `allOf[subschema #2: Snippet]/owner/allOf[subschema #2: Account]/username` from the response with the `200` status (media type: application/json)
  - removed the optional property `allOf[subschema #2: Snippet]/owner/allOf[subschema #2: Account]/username` from the response with the `200` status (media type: multipart/related)
  - removed the optional property `allOf[subschema #2: Snippet]/owner/allOf[subschema #2: Account]/username` from the response with the `200` status (media type: multipart/form-data)

---

[Operation](https://skmtc.dev/atlassian/apis/bitbucket-api/docs/snippets/:workspace/:encoded_id/put.md) - [API](https://skmtc.dev/atlassian/apis/bitbucket-api.md) - [Page](https://skmtc.dev/atlassian/apis/bitbucket-api/changes/snippets/:workspace/:encoded_id/put)
