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

Update a machine

The machine group and the production center cannot be changed here — only these three fields are applied.

PUT/machine/{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 name.

customIdstring

Custom machine id.

propertiesobjectrequired

Machine properties.

Responses
200

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

idinteger | stringrequired

Id of the updated Machine.

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/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "customId": "string",
  "properties": {}
}'
Response
{
  "id": 0
}