Website Builder API
POST /services/websites/v1/components/unlink Auth

Unlink Component

When a component is linked to a template (has partial_partial meta), this endpoint will: 1. Copy all template content (custom fields config, code) to the component 2. Remove the template link (partial_partial meta) 3. Component becomes independent with its own copy of data

Request Body Required

FieldTypeRequiredDescriptionExample
component_id string Yes The component connection ID to unlink from its template. 6122
id string Yes The post_name (slug) of the page/block, or the template/partial ID for partial types. /
type string Yes The target type: page, secured, or partial_* variant. page

Responses

200
422
401
403
429
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
Response Example
{
    "error": false
}

Try It

Export