actions
Create an organization variable
Creates an organization 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 tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
post/orgs/{org}/actions/variables
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Request body
Response
Response when creating a variable
EmptyObject required
An object without any properties.