Skip to main content
POST
Replace all component elements.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

componentId
string
required

Component id whose full element set should be replaced.

Body

application/json
key
string
required

Unique element key. CODE_JS, CODE_TS, CODE_JS_LIB, and CODE_TS_LIB keys must be valid JavaScript identifiers and cannot be JavaScript/TypeScript reserved words.

Required string length: 1 - 32
details
string
required

Details.

hidden
boolean
required

Element hidden from results.

order
number
required

Order of the element (must be unique).

componentElementId
string

Durable component element identifier. Preserved across exports, imports, reverts, and key renames.

desc
string

Representation description e.g. swagger spec details.

Maximum string length: 1000

Response

OK.

Last modified on September 5, 2026