Skip to content

Latest commit

 

History

History
98 lines (66 loc) · 2.53 KB

educationclass-delete-teachers.md

File metadata and controls

98 lines (66 loc) · 2.53 KB
title description author ms.localizationpriority ms.subservice doc_type
Remove teacher
Remove a teacher from a class.
mmast-msft
medium
education
apiPageType

Remove teacher

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Remove a teacher from an educationClass.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

DELETE /education/classes/{id}/teachers/{userId}/$ref

Request headers

Header Value
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code. It doesn't return anything in the response body.

Example

Request

The following example shows a request.

DELETE https://graph.microsoft.com/beta/education/classes/{id}/teachers/14012

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 204 No Content