delete_affinity_group
Removes an affinity group from CloudStack by ID or name, with optional account and domain scoping, to clean up unused placement policies.
Instructions
Delete an affinity group
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_affinity_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Affinity group ID | |
| name | No | Affinity group name (alternative to ID) | |
| account | No | Account name | |
| domainid | No | Domain ID |