Skip to main content
PUT
Shorten User Subscription

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

handle
string
required

The document's _id or slug.

Body

application/json
ends
string
required

Response

200 - application/json

The affected user

Subset of properties listed here

_id
string | null
email
string | null
name
string | null
slug
string | null
role
string | null

Usually either 'teacher' or 'student'

stats
UserResponseStats · object | null
oAuthIdentities
UserResponseOAuthIdentitiesItem · object[] | null
subscription
UserResponseSubscription · object | null
license
UserResponseLicense · object | null