instances

Replace one engine's settings (the keys and bounds are in GET /plans under engines[name].settings); a key you leave out goes back to its default, so send the whole set or use PATCH

put/instances/{instance_id}/engines/{engine}/settings

Request

  • Base URL: https://app.lathe.live/api/v1
  • URL: https://app.lathe.live/api/v1/instances/{instance_id}/engines/{engine}/settings
  • Auth: none declared

Path parameters

instance_idstring required
enginestring required

Request body

settingsobject required

Keys from the engine's settings schema; omit a key or send its default to reset it.

confirmstring

The exact change string returned by a refused unconfirmed call. Binds the instance, action, resource and submitted values.

Response

Successful Response

status'queued' | 'already_queued' | 'removed'
job_idstring nullable required
instance_idstring required
messagestring required
job_urlstring nullable
checkout_urlstring nullable

A free instance's upgrade: open in a browser and pay the plan's first month; the upgrade follows the payment.

verifiedboolean nullable

Registry credentials only: whether the registry took them. Null when there was no image of yours there to try them on.

warningstring nullable

Registry credentials only: why the registry refused them, when it did. They are saved either way.

cidrsstring[] nullable

The allowlist as normalised (allowlist only).

settingsobject nullable

Engine settings only: the whole engine as it will be once the job has run, secrets masked. A read before the job finishes still answers the previous values, so an add reads its result here.

Changes

No recorded changes to this operation across all 1 revision of this API.