撤销他的高级访问权限

如果用户在一段时间已经有了高级访问权限,这将缩短/撤销他的高级访问权限。 如果结束时间少于或者等于现在时间,将撤销订阅权限并将结束时间设置为现在时间,否则将缩短订阅时间。

Path parameters

handlestringRequired

文件中的 _id 或者 slug.

Headers

AuthorizationstringRequired

Basic authentication of the form Basic <username:password>.

Request

This endpoint expects an object.
endsstringRequired

Response

This endpoint returns an object.
_idstring or null
emailstring or null
namestring or null
slugstring or null
rolestring or null

通常这是指"teacher"(“老师”)或者"student"(“学生”)

statsobject or null
oAuthIdentitieslist of objects or null
subscriptionobject or null
licenseobject or null