Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Update a machine group

Whole-record update — a partial body is rejected. The build volume is required, as either size or the three size* fields.

PUT/machine-group/{id}
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Path parameters
idstringrequired
Request body
application/json
namestringrequired

Machine group name.

descriptionstringrequired

Description.

propertiesobjectrequired

Machine group properties.

technologyIdintegerrequired

Id of the technology.

sizeobject

Build volume, e.g. {"x": 100, "y": 100, "z": 100}. Equivalent to sending sizeX/sizeY/sizeZ.

sizeXnumber

Build volume X. Alternative to size.

sizeYnumber

Build volume Y. Alternative to size.

sizeZnumber

Build volume Z. Alternative to size.

customIdstring

Custom id. Kept unchanged when omitted.

customFieldsobject[]

Custom fields as [{"id": 1, "label": "...", "value": "..."}] (up to 5). Kept unchanged when omitted; sending the field replaces the whole list.

Responses
200

OK. Returns only the id — fetch the full Machine Group with the corresponding GET.

idinteger | stringrequired

Id of the updated Machine Group.

Show properties
One of:
integer
integer
string
string
401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'https://next.amfg.ai/engine-service/public-api/v1/machine-group/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "description": "string",
  "properties": {},
  "technologyId": 0,
  "size": {},
  "sizeX": 0,
  "sizeY": 0,
  "sizeZ": 0,
  "customId": "string",
  "customFields": [
    {}
  ]
}'
Response
{
  "id": 0
}