delete_template
Remove an Ansible template from a SemaphoreUI project by providing project ID and template ID. Deletes the specified template to clean up unused configurations.
Instructions
Delete a template.
Args: project_id: ID of the project template_id: ID of the template to delete
Returns: Empty dict on success
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>",
"template_id": "<template_id>"
},
"name": "delete_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| template_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||