Update Clerk machine
Update a machine's name or default token TTL in a connected Clerk instance.
← All Clerk endpoints · Capability overview
/v1/clerk/machines/{machine_id}https://api.vee3.io/v1/clerk/machines/{machine_id}
Update a machine's name or default token TTL in a connected Clerk instance.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.update_machineParameters4 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
machine_idstringRequiredClerk machine id (mch_...) to retrieve or modify.
namestringOptionalUpdated machine display name.
default_token_ttlintegerOptionalUpdated default M2M token lifetime in seconds.
min 1, max 315360000
Response8 fields
machineobject7 fieldsUpdated machine object from the Backend API.
machineobjectidstringMachine id (mch_...).
namestringMachine display name.
instance_idstringClerk instance id (ins_...) that owns the machine.
default_token_ttlintegerDefault token lifetime in seconds for tokens created by this machine.
secret_keystringMachine secret key returned on create. Treat as high-privilege — do not log.
created_atintegerUnix timestamp in milliseconds when the machine was created.
updated_atintegerUnix timestamp in milliseconds when the machine was last updated.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required