put
https://{yourinstance}.makaira.io/component/
Update Component by ID
Updates an existing page editor component definition.
Requires authentication.
Request
PUT /component/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The ID of the component to update. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
Accepts the same fields as the create endpoint. Only provided fields are updated.
| Field | Type | Required | Description |
|---|---|---|---|
identifier | string | No | Machine-readable identifier. |
name | string | No | Display name in the Page Editor. |
icon | string | No | Icon identifier. |
sections | array | No | Replacement section definitions. |
Response
Returns the updated component definition.
200OK

