v1
latestOpenAPI 3.1.02026-07-13897404.3 KBServerless
update workergroup
Updates the properties of an existing workergroup based on the provided parameters.
CLI Usage: vastai update workergroup <id> [options]
put/api/v0/workergroups/{id}/
Path parameters
idinteger required
Example:4242
The ID of the workergroup to update.
Request body
Example request
{
"min_load": 1,
"target_util": 0.9,
"cold_mult": 3,
"test_workers": 3,
"template_hash": "abc123def456",
"template_id": 456,
"search_params": "gpu_name=RTX_3090 rentable=true",
"launch_args": "--env VAR=value",
"gpu_ram": 24,
"endpoint_name": "vLLM-Qwen3-8B",
"endpoint_id": 123
}Response
Successfully updated the workergroup.
Example response
{
"success": true
}