actionsDeleteEnvironmentVariable
Delete an environment variable
Details
- Method:
DELETE - Path:
/repos/{owner}/{repo}/environments/{environment_name}/variables/{name} - Operation ID:
actions/delete-environment-variable
Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"name": {
"description": "The name of the variable.",
"required": true,
"location": "path",
"type": "string"
},
"environment_name": {
"description": "The name of the environment. The name must be URL encoded. For example, any slashes in the name must be replaced with `%2F`.",
"required": true,
"location": "path",
"type": "string"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('github')
# Call this tool
result = await agent.call_tool('actionsDeleteEnvironmentVariable', {
# Add required parameters here
})