English
Postman
OpenAPI
Contact us
Sign up
Search...
/
Overview
Introduction
API Reference
POST
Add Oauth2 Identity
Auth
GET
Login User
Clans
PUT
Upsert User Into Clan
Classrooms
GET
Get Classroom Details
POST
Create a classroom
PUT
Upsert a user from classroom
DEL
Delete User from Classroom
PUT
Enroll User in a Course
PUT
Remove User from a classroom
GET
Get Member Stats
GET
Get Level Session
Stats
GET
Get Playtime Stats
GET
Get License Stats
Users
POST
Create User
GET
Get User
PUT
Update User
GET
Get Classrooms By User
PUT
Get User Hero
PUT
Put Ace Config
PUT
Put Subscription
PUT
Shorten User Subscription
PUT
Grant User License
PUT
Shorten User License
GET
Search for User
Postman
OpenAPI
Contact us
Sign up
Users
Grant User License
PUT
https://
codecombat.com
/
api
/
users
/
:handle
/
license
Grants a user access to the "Classroom" version up to a certain time. Sets their role to "student".
Path parameters
handle
string
Required
The document’s
_id
or
slug
.
Request
This endpoint expects an object.
ends
string
Required
Response
Expand all
Collapse all
This endpoint returns an object
_id
string
Optional
email
string
Optional
name
string
Optional
slug
string
Optional
role
string
Optional
Usually either 'teacher' or 'student'
stats
object
Optional
Show 3 properties
oAuthIdentities
list of objects
Optional
Show 2 properties
subscription
object
Optional
Show 2 properties
license
object
Optional
Show 2 properties
Built with