Workers
Modify an existing worker machine.
put/spaces/{spaceIdentifier}/workers/{id}
Path parameters
spaceIdentifierstring required
Identifier (ID or slug) of the space
idstring required
The ID of the worker
Request body
Example request
{
"Id": "Machines-1",
"MachinePolicyId": "MachinePolicies-1",
"SpaceId": "Spaces-1",
"WorkerPoolIds": [
"WorkerPools-1",
"..."
]
}Response
The modified worker
Example response
{
"SpaceId": "Spaces-1",
"WorkerPoolIds": [
"WorkerPools-1",
"..."
]
}