Delete educationSubmissionResource

Namespace: microsoft.graph

Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation.

If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to "reset" the resource to its original state. If the resource was not copied from the assignment but was added from the student, the resource is simply deleted.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) EduAssignments.ReadWriteBasic, EduAssignments.ReadWrite
Delegated (personal Microsoft account) Not supported.
Application Not supported.

HTTP request

DELETE /education/classes/{class-id}/assignments/{assignment-id}/submissions/{submission-id}/resources/{resource-id}

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Don't supply a request body for this method.


If successful, this method returns a 204 No Content response code. It does not return anything in the response body.



The following is an example of the request.



The following is an example of the response.

HTTP/1.1 204 No Content