DELETE
/ng-cms/content/{projectId}/{typeKey}/{entryId}https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId}Archive a content entry
Параметры запроса
projectIdstringThe unique identifier of the project (bucket)
typeKeystringThe key or ID of the content type
entryIdstringThe unique identifier of the content entry to archive
Ответы
404Entry archived successfully. Despite the 404 status code, this response indicates success — check the body for confirmation.
тип: ApiResponse<boolean>
successbooleanAlways true on successresultbooleanAlways true on successerrorsErrorDetail[]List of errors (empty on success)401Unauthorized. A valid bearer token is required.
404Not Found. No content entry or content type exists with the given ID or key.
412Precondition Failed. The project's current plan does not allow access to this resource, or payment is required to proceed.
500Unexpected server error.
тип: ApiResponse<T>
successbooleanAlways falseerrorsErrorDetail[]List of server-side errorscorrelationIdstringUnique ID for tracing the errormessagestringError messagestackstringStack trace (non-production only)Язык:
expand_more
Пример запроса
curl --request DELETE \
--url https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId} \
--header 'Authorization: Bearer <token>'Response Example404
{
"success": true,
"result": true,
"errors": []
}KONSO