Remove Shared Course API

This API is used to removed shared user from courses in LMS.

Request URL: 

https://people.zoho.com/api/v1/courses/<courseId>/share

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Scope:

ZOHOPEOPLE.training.ALL
OR
ZOHOPEOPLE.training.DELETE

Possible Operation Types:

ALL - Complete access to data
DELETE - Only to delete data

Method:

DELETE

Request Parameters

ParametersValues AllowedDefault ValueDescription
sharedUserErecno<employee erecno>-Specify employees erecno

Request

Copiedhttps://people.zoho.com/api/v1/courses/219225000000642002/share?sharedUserErecno=219225000000185023

​Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied{
    "code": "200",
    "sharedUserErecno": "219225000000185023",
    "message": "success",
    "courseId": "219225000000642002"
}