v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Update a repo-level variable

put/repos/{owner}/{repo}/actions/variables/{variablename}

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repository

variablenamestring required

name of the variable

Request body

descriptionstring

Description of the variable to update

namestring

New name for the variable. If the field is empty, the variable name won't be updated.

valuestring required

Value of the variable to update

Response

response when updating a repo-level variable