English
Postman
OpenAPI
Contact us
Sign up
Search...
/
Overview
Introduction
API Reference
POST
Add Oauth2 Identity
Auth
Clans
Classrooms
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
API Reference
Users
Get User Hero
PUT
https://codecombat.com/api
/
users
/
:handle
/
hero-config
Set the user's hero.
Path parameters
handle
string
Required
The document’s
_id
or
slug
.
Request
This endpoint expects an object.
thangType
string
Optional
Response
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