DELETE /ng-cms/content-types/{projectId}/{key}

Delete a content type

Параметры запроса

projectId string
Обязательный

The unique identifier of the project (bucket)

key string
Обязательный

The ID or key of the content type to delete

Ответы

200 Content type archived successfully. Returns the ID of the deleted content type.

тип: ApiResponse<string>

success boolean Indicates whether the request was successful
result string The ID of the deleted content type
errors ErrorDetail[] List of errors (empty on success)
401 Unauthorized. A valid bearer token is required.
404 Not Found. No content type exists with the given ID or key.
412 Precondition Failed. The project's current plan does not allow access to this resource, or payment is required to proceed.
500 Unexpected server error.

тип: ApiResponse<T>

success boolean Always false
errors ErrorDetail[] List of server-side errors
correlationId string Unique ID for tracing the error
message string Error message
stack string Stack trace (non-production only)

Оставаясь на сайте, Вы даете свое согласие на использование файлов cookie