Deletes a single MediaNewsArticle
Path parameters
-
identifier
string Required
Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
DELETE
/api/media/news_article/{identifier}
curl \
--request DELETE 'https://replace-with-own-host.iw-erp.de/api/media/news_article/{identifier}' \
--header "x-session-token: $API_KEY"
Response examples (200)
{
"id": 42,
"news_type": "string",
"token": "string",
"public_title": "string",
"public_copyright": "string",
"public_language_code": "string",
"public_subtitle": "string",
"public_author": "string",
"public_summary": "string",
"public_thumbnail": "string",
"public_keywords": "string",
"public_category": "string",
"publish_date": "2025-05-04T09:42:00Z",
"unpublish_date": "2025-05-04T09:42:00Z",
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"image_url": "string",
"slug_identifier": "string"
}