| 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 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Delete an educationalActivity object from a user's profile.
[!INCLUDE national-cloud-support]
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]
DELETE /me/profile/educationalActivities/{id}
DELETE /users/{id | userPrincipalName}/profile/educationalActivities/{id}| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 204 No Content response code. It doesn't return anything in the response body.
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]
The following example shows the response.
HTTP/1.1 204 No Content