Machines

Update a machine

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

patch/machines/{machine_id}

Request

  • Base URL: https://api.clerk.com/v1
  • URL: https://api.clerk.com/v1/machines/{machine_id}
  • Auth: HTTP bearer

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.

Changes

No recorded changes to this operation across all 49 revisions of this API.