Skip to main content
POST
Opt a module into background auto-updates

Path Parameters

moduleId
string
required

Module identifier.

Minimum string length: 1

Body

application/json

Request body used to opt a module into auto-updates.

autoUpdate
boolean
required

Whether the module opts into the background auto-update sweep.

constraint
string | null

Optional semver range pinning which registry version is selected. Omitted or null means latest. Invalid ranges are rejected with 400.

Response

The auto-update opt-in state.

Response returned by the module auto-update endpoint.

id
string
required

Identifier of the module whose auto-update flag was set.

Minimum string length: 1
autoUpdate
boolean
required

The stored auto-update opt-in state.

constraint
string | null
required

The normalized semver range stored for the sweep, or null for latest.

Last modified on August 25, 2026