Execute multiple actions
computers.batch(strid, ComputerBatchParams**kwargs) -> ComputerBatchResponse
POST/computers/{id}/batch
Execute a batch of actions in sequence, stopping on first error
Parameters
id: str
Returns
Dict[str, object]
Execute multiple actions
import os
from tzafon import Lightcone
client = Lightcone(
api_key=os.environ.get("TZAFON_API_KEY"), # This is the default and can be omitted
)
response = client.computers.batch(
id="id",
)
print(response){
"foo": "bar"
}Returns Examples
{
"foo": "bar"
}