Replace one component element.
Replaces exactly one existing element in the selected component. Matching uses componentElementId first and falls back to key only for legacy payloads without ids. Use this endpoint for focused single-element updates instead of the full replace save endpoint.
ROLES: COMPONENT_WRITE,COMPONENT_ADMIN USER: true SERVICE ACCOUNT: true
Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Component id containing the element to replace.
Body
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.
1 - 32Details.
Element hidden from results.
Order of the element (must be unique).
Durable component element identifier. Preserved across exports, imports, reverts, and key renames.
Representation description e.g. swagger spec details.
1000Response
OK.

