detachInstanceVpc
Detach VPC from Instance
Details
- Method:
POST - Path:
/instances/{instance-id}/vpcs/detach - Operation ID:
detach-instance-vpc
Parameters
{
"vpc_id": {
"description": "The [VPC ID](#operation/list-vpcs) to detach from this Instance.",
"required": false,
"location": "body",
"type": "string"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('vultr')
# Call this tool
result = await agent.call_tool('detachInstanceVpc', {
# Add required parameters here
})