DELETE
/news/news_items/{news_item_id}Delete a news item
Deletes a single news item. Use news_item_id to identify the item to remove. The response confirms whether the item was deleted and identifies the deleted object.
news_item_idintegerrequired
The unique integer identifier of the news item to delete.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted; supported values include the versions listed in the schema.
200Returns a deletion object containing the supplied item identifier, the `news-item` object type, and a boolean indicating whether deletion succeeded.
idstringoptional
The unique identifier for the news item which you provided in the URL.
objectstringoptional
The type of object which was deleted - news-item.
deletedbooleanoptional
Whether the news item was deleted successfully or not.
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the requested news item does not exist.
One documented failure
not_foundResource Not Found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 400 is returned when the resource is not available for deletion. A 401 is returned when the request is unauthorized; send valid API credentials. A 404 is returned when no news item exists with the specified news_item_id path parameter.