update_terraform_alias
Updates an existing Terraform alias in a Semaphore UI inventory using project and inventory IDs, letting you change alias or authentication key details via the API.
Instructions
update terraform alias. Availability depends on Semaphore edition, license, and permissions; some Community routes return 404 or empty lists. PUT /project/{project_id}/inventory/{inventory_id}/terraform/aliases/{alias_id}. Supply API fields in body; JSON-encoded string fields must remain strings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"inventory_id": "<inventory_id>",
"alias_id": "<alias_id>",
"body": "<body>"
},
"name": "update_terraform_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| alias_id | Yes | ||
| project_id | Yes | ||
| inventory_id | Yes |