---
title: "Changes to Create or update a repository secret"
method: PUT
path: "/repos/{owner}/{repo}/agents/secrets/{secret_name}"
---

# Changes to Create or update a repository secret

`PUT /repos/{owner}/{repo}/agents/secrets/{secret_name}`

> Every recorded change to this endpoint, newest first.

No recorded changes to this endpoint in the revisions that could be searched.

---

[Operation](https://skmtc.dev/github/apis/rest/docs/repos/:owner/:repo/agents/secrets/:secret_name/put.md) · [API](https://skmtc.dev/github/apis/rest.md) · [Page](https://skmtc.dev/github/apis/rest/changes/repos/:owner/:repo/agents/secrets/:secret_name/put)
