v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
Machines

Update a machine

Updates an existing machine. Only the provided fields will be updated.

patch/machines/{machine_id}

Path parameters

machine_idstring required

The ID of the machine to update

Request body

namestring

The name of the machine

default_token_ttlinteger

The default time-to-live (TTL) in seconds for tokens created by this machine. Must be at least 1 second.

Response

Success

object'machine' required
idstring required

Unique identifier for the machine.

namestring required

The name of the machine.

instance_idstring required

The ID of the instance this machine belongs to.

created_atinteger required

Unix timestamp of creation.

updated_atinteger required

Unix timestamp of last update.

default_token_ttlinteger

The default time-to-live (TTL) in seconds for tokens created by this machine.