agents
Update an organization variable
Updates an organization agent variable that you can reference in a GitHub Actions workflow.
Authenticated users must have collaborator access to a repository to create, update, or read variables.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
patch/orgs/{org}/agents/variables/{name}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/agents/variables/{name}
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
namestring required
The name of the variable.
Request body
Response
Response
Changes
No recorded changes to this operation across all 23 revisions of this API.