Delete a content type
Log in to add to favouritesDeletes a content type from a specific project.
delete(id: string): Promise<void>
Returns
A Promise that will resolve with an empty object.
Example
client.contentTypes.delete('movie')
.then(result => {
console.log('API call result: ', result);
})
.catch(error => {
console.log('API call fetch error: ', error);
});