Skip to content

Latest commit

 

History

History
147 lines (103 loc) · 4.58 KB

File metadata and controls

147 lines (103 loc) · 4.58 KB
title Delete educationalActivity
description Delete an educationalActivity object from a user profile.
ms.localizationpriority medium
author kevinbellinger
ms.subservice people
doc_type apiPageType
ms.date 10/08/2024

Delete educationalActivity

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Delete an educationalActivity object from a user's profile.

[!INCLUDE national-cloud-support]

Permissions

The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permissions for the following HTTP syntax:

DELETE /me/profile/educationalActivities/{id} 

[!INCLUDE permissions-table]

Permissions for the following HTTP syntax:

DELETE /users/{id | userPrincipalName}/profile/educationalActivities/{id}

[!INCLUDE permissions-table]

HTTP request

DELETE /me/profile/educationalActivities/{id} 
DELETE /users/{id | userPrincipalName}/profile/educationalActivities/{id}

Request headers

Name Description
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.

Examples

Request

The following example shows a request.

DELETE https://graph.microsoft.com/beta/me/profile/educationalActivities/{id}

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

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

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

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

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

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

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


Response

The following example shows the response.

HTTP/1.1 204 No Content