This request must be made by the Developer Console project of the OAuth client ID used to create the corresponding announcement item.
This method returns the following error codes:
PERMISSION_DENIED if the requesting developer project did not create the corresponding announcement, if the requesting user is not permitted to delete the requested course or for access errors.
FAILED_PRECONDITION if the requested announcement has already been deleted.
NOT_FOUND if no course exists with the requested ID.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[[["Deletes an announcement within a specified course using the announcement's unique identifier."],["Requires authorization using the `https://www.googleapis.com/auth/classroom.announcements` scope, and the request must originate from the Developer Console project that created the announcement."],["Returns an empty response body upon successful deletion, otherwise provides error codes such as `PERMISSION_DENIED`, `FAILED_PRECONDITION`, or `NOT_FOUND`."],["The request body should be empty and utilizes a `DELETE` request to the specified URL with course and announcement identifiers as path parameters."]]],[]]