Delete learningCourseActivity

Namespace: microsoft.graph

Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity.

Note: Learning course activities can be managed by a provider only when isCourseAcitvitySyncEnabled is set to true. To update the value, use the Update learningProvider method.

This API is supported in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet


One of the following permissions is required to call this API based on the type of learning course activity. To learn more, including how to choose permissions, see Permissions.

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

HTTP request

DELETE /employeeExperience/learningProviders/{registrationId}/learningCourseActivities/{id}

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.


If successful, this method returns a 204 No Content response code.



The following is an example of a request.



The following is an example of the response.

HTTP/1.1 204 No Content