撤销他的高级访问权限

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

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

handlestringRequired

文件中的 _id 或者 slug.

Request

This endpoint expects an object.
endsstringRequired

Response

This endpoint returns an object.
_idstring
emailstring
namestring
slugstring
rolestring

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

statsobject
oAuthIdentitieslist of objects
subscriptionobject
licenseobject