Skip to main content

Example

JAVASCRIPT
1
2
3
4
5
6
7
client.projects.delete('website') .then(result => { console.log('API call result: ', result); }) .catch(error => { console.log('API call fetch error: ', error); });
JSON
1
2
3
4
5
6
7
8
9
10
11
{ "logId": "00000000-0000-0000-0000-000000000000", "message": "There are validation errors deleting the project 'movieDb'", "data": [ { "field": "", "message": "The specified project is the only project and therefore cannot be deleted" } ], "type": "Validation" }
JSON
1
2
3
4
5
6
7
8
9
10
11
{ "logId": "5fca7986-5ba3-4eb4-9cea-b5f25aaaed09", "message": "There are validation errors deleting the project 'movieDb'", "data": [ { "field": "", "message": "The project has associated content types so cannot be deleted" } ], "type": "Validation" }

Still need help?

New support request