Skip to main content
PUT
Update a JavaScript SDK core extension
EXPERT. This operation is in the Feature Building Blocks APIs. Read that page before you use it.

Authorizations

Authorization
string
header
required

Path Parameters

extendedCoreId
string
required

The id of the extended core to be updated.

Body

application/json

ExtendedCoreUpdateRequest object

Body of a PUT /v1/extended-cores/{extendedCoreId} request.

component_ids
string[]
component_references
object[]
enabled

Choose between static or dynamic enabled. Buildtime expressions use ExtendedCoreBuildtimeContext.

source_code

Choose between static or dynamic source code. Buildtime expressions use ExtendedCoreBuildtimeContext.

Response

JavaScript SDK core extension source definition with build-time enabled state, source code, and component references.

JavaScript SDK core extension source definition with build-time expressions.

component_ids
string[]
required
component_references
object[]
required
created_date
string
required

RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$
Example:

"2025-10-24T02:00:00-07:00"

enabled
required

Build-time expression that controls whether the extension is active. Buildtime expressions use ExtendedCoreBuildtimeContext.

id
string
required
read-only

Unique identifier for the JavaScript SDK core extension.

source_code
required

Build-time expression that resolves to the JavaScript source code injected into the SDK. Buildtime expressions use ExtendedCoreBuildtimeContext.

updated_date
string
required

RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$
Example:

"2025-10-24T02:00:00-07:00"