Skip to main content

Delete a component

Log in to add to favourites

Returns

Example

JAVASCRIPT
1
2
3
4
5
6
7
client.components.delete('address') .then(result => { console.log('API call result: ', result); }) .catch(error => { console.log('API call fetch error: ', error); });

Validations

JSON
1
2
3
4
5
6
7
8
9
10
11
{ "logId": "6eda131e-c8eb-44dc-8665-ae3a8b1815d8", "message": "There are validation errors deleting the component", "data": [ { "field": "", "message": "The component cannot be deleted as it is in use in one or more content types" } ], "type": "Validation" }

Still need help?

New support request