Deletes an add-on attachment.
Requires the add-on to have been the original creator of the attachment.
This method returns the following error codes:
PERMISSION_DENIEDfor access errors.
INVALID_ARGUMENTif the request is malformed.
NOT_FOUNDif one of the identified resources does not exist.
The URL uses gRPC Transcoding syntax.
Required. Identifier of the course.
Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from postId.
Required. Identifier of the attachment.
Optional. Deprecated, use itemId instead.
The request body must be empty.
If successful, the response body is empty.
Requires the following OAuth scope:
For more information, see the Authorization guide.