Skip to main content
PUT
Update component.

Authorizations

Authorization
string
header
required

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

Headers

x-revo-mutation-review
string
required

Path Parameters

componentId
string
required

Body

application/json
version
number
required

Current component version for optimistic concurrency; fetch the component before updating and send the version returned by the API.

name
string

Display name. For CODE_JS_LIB and CODE_TS_LIB, it must be a JavaScript identifier (letters/underscore first, then letters/digits/underscore). An active, non-deleted library cannot be renamed to the name of another active, non-deleted library of either library type; inactive libraries may share a name.

Required string length: 1 - 60
category
string | null

Replacement category. Pass null to clear it.

Maximum string length: 32
desc
string | null

Replacement description. Pass null to clear it.

metadata
object | null

Replacement component metadata object. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.

Response

OK.

Last modified on September 5, 2026