v1

latestOpenAPI 3.1.02026-07-2683111282.3 KB
Content Type Operations

Delete a content type

Deletes a content type within the context of the development project.

In case the content type is newly created and is not merged to the core yet, the content type is deleted completely since it only exists in the development project. For a content type that is already in the core, the type is deleted within the development project and will be deleted from the system completely once the development project is merged to the core.

The delete operation validates whether the content type is used by any content/content type/channel components. If the content type is used by one of these items, then the operation fails with an error by showing the linked contents/content types/components.

If you only want to make the content type unavailable for authors and editors while create new documents and pages, but not to delete it completely from the system, you can also disable the content type with the update operation.

delete/{project_id}/{content_type_name}

Path parameters

project_idstring required

Project specifier. Valid values: 'core', 'development'

content_type_namestring required

Name of content type. Unless the content type belongs to the default group ('brxsaas'), the name must be prefixed with the group name and the hyphen character, e.g. 'mygroup-mytype'

Response

OK