Delete an Article
Delete the specified article from your channel.
URL
DELETE https://news-api.apple.com/articles/{articleId}Path Parameters
| Name | Type | Description |
|---|---|---|
articleId Required | string | The UUID or the Share URL ID of the article you want to delete. The server returns the article ID and the Share URL when you create an article (see Create an Article) and in Read Article Information and Update an Article responses. |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 204 | No Content | The request was successful but there was no response in the body. | |
| 400 | Bad Request Content-Type: application/json | Error |
|
| 401 | Unauthorized Content-Type: application/json | Error | You didn’t include the |
| 403 | Forbidden Content-Type: application/json | Error | You tried to access an article your API key doesn’t have permission to access. Key path: N/A |
| 404 | Not Found Content-Type: application/json | Error |
|
Discussion
If the article is viewed on a device, it may take some time for the News app to refresh the cache so the article disappears on that device.