Delete a content type
Log in to add to favouritesThis endpoint deletes a content type from a specific project. Once deleted, the content type is permanently removed and cannot be retrieved, as it is not moved to the recycle bin.
DELETE/api/management/projects/{projectId}/contenttypes/{contentTypeId}
Parameters
Name | Parameter type | Type | Description |
---|---|---|---|
projectId(required) | path | string | The project identifier found in the project overview screen of the management console. |
contentTypeId(required) | path | string | The content type identifier. |
Responses
Examples
An example of deleting a content type called enquiryForm from the website project
curl --location --request DELETE 'https://cms-{alias}.cloud.contensis.com/api/management/projects/website/contenttypes/enquiryform' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'